declare const SHARED_DIR: string;
declare const CATEGORIES: readonly ["characters", "scenes", "music", "templates", "branding", "general"];
type Category = (typeof CATEGORIES)[number];
export interface AssetFile {
    name: string;
    size: number;
    mtime: string;
    category: string;
}
export declare function sanitizeFilename(name: string): string;
export declare function validateCategory(category: string): asserts category is Category;
export declare function getSharedAssetPath(category: string, filename: string): string;
export declare function ensureSharedDirs(): Promise<void>;
export declare function listSharedAssetsWithMeta(): Promise<Record<string, AssetFile[]>>;
export declare function listSharedAssets(): Promise<Record<string, string[]>>;
export declare function saveSharedAsset(category: string, filename: string, data: Buffer | Uint8Array): Promise<AssetFile>;
export declare function deleteSharedAsset(category: string, filename: string): Promise<void>;
export declare function moveSharedAsset(fromCat: string, toCat: string, filename: string): Promise<void>;
export { CATEGORIES, SHARED_DIR };
//# sourceMappingURL=shared-assets.d.ts.map