import { SDMetadata } from './types'; /** * NovelAI metadata parser * Handles NovelAI-specific metadata format stored in JSON */ export interface NovelAICommentData { uc?: string; steps?: number; scale?: number; seed?: number; sampler?: string; uncond_per_vibe?: boolean; strength?: number; noise?: number; v4_prompt?: { caption: { base_caption?: string; char_captions?: Array<{ char_caption: string; [key: string]: any; }>; }; [key: string]: any; }; v4_negative_prompt?: { caption: { base_caption?: string; char_captions?: Array<{ char_caption: string; [key: string]: any; }>; }; [key: string]: any; }; director_reference_descriptions?: Array<{ caption?: { base_caption?: string; char_captions?: any[]; }; [key: string]: any; }>; director_reference_strengths?: number[]; director_reference_secondary_strengths?: number[]; } /** * Extract NovelAI metadata from comment JSON */ export declare function extractNovelAIMetadata(comment: string, description?: string, metadata?: SDMetadata): SDMetadata; /** * Check if a string looks like NovelAI metadata */ export declare function isNovelAIFormat(text: string): boolean; /** * Serialize NovelAI metadata back to JSON */ export declare function serializeNovelAIMetadata(metadata: SDMetadata): string; declare const _default: { extractNovelAIMetadata: typeof extractNovelAIMetadata; isNovelAIFormat: typeof isNovelAIFormat; serializeNovelAIMetadata: typeof serializeNovelAIMetadata; }; export default _default;