/**
 * Regenerate .media/index.md — the agent-readable inventory table — after a
 * figma import, exactly the way media-use does after a resolve. Both writers
 * regenerate the SAME file from the full manifest (all writers' rows), so the
 * output format AND row selection here must stay byte-identical with
 * skills/media-use/scripts/lib/index-gen.mjs — including rendering every
 * JSON-parseable row (no shape filtering), or the file would flip-flop
 * depending on which writer ran last.
 */
type IndexRow = Record<string, unknown>;
export declare function indexPath(projectDir: string): string;
export declare function generateIndexContent(records: IndexRow[]): string;
/** Rebuild index.md from EVERY writer's manifest rows (media-use + figma). */
export declare function regenerateIndex(projectDir: string): string;
export {};
//# sourceMappingURL=mediaIndex.d.ts.map