export interface GoBananasCharacter { id: number; character_name: string; base_prompt: string; description?: string; reference_images?: unknown[]; last_used_at?: string; } export interface CleanOptions { dryRun: boolean; ids: Set; nameRegex: RegExp | null; bloated: boolean; maxPromptChars: number; yes: boolean; patchId: number | null; patchBasePrompt: string | null; baseUrl: string; apiKey: string; } export declare function listAllCharacters(apiKey: string, url?: string): Promise; export declare function extractLibraryIntentQueries(userIntent: string): string[]; export declare function searchCharactersByExactName(query: string, apiKey: string, url?: string): Promise; export declare function findLibraryCharactersByIntent(userIntent: string, apiKey: string, url?: string): Promise; export declare function deleteCharacter(id: number, apiKey: string, url?: string): Promise<{ deleted: boolean; }>; export declare function patchCharacter(id: number, updates: Partial>, apiKey: string, url?: string): Promise; export declare function selectCandidates(all: GoBananasCharacter[], opts: Pick): GoBananasCharacter[]; export declare function formatRow(character: GoBananasCharacter): string; export declare function runLibraryClean(opts: CleanOptions): Promise; export declare function parseLibraryCleanArgs(rest: string[]): CleanOptions; export declare const LIBRARY_HELP = "vclaw video library - Go Bananas character library hygiene\n\nUsage:\n vclaw video library find --intent \"\" [--api-url ]\n vclaw video library clean [options]\n vclaw video library clean --patch --base-prompt \"\" [--dry-run]\n\nOptions:\n --ids 244,141 Target specific character IDs\n --name-regex PATTERN Match character_name (case-insensitive)\n --bloated Include chars whose base_prompt > 400 chars\n --max-prompt-chars N Override the bloated threshold (default 400)\n --dry-run List candidates, do not delete\n --yes / -y Skip confirmation prompt\n --patch Update a single character (requires --base-prompt)\n --base-prompt \"\" New base_prompt for the --patch target\n --api-url Override GO_BANANAS_API_URL (default https://gobananasai.com/api)\n\nEnv:\n GO_BANANAS_API_KEY Required. X-API-Key sent with every request.\n"; //# sourceMappingURL=library-clean.d.ts.map