export interface InitOptions { schema?: string; field?: string[]; kind?: string; force?: boolean; } /** Declared schema purposes the server accepts (mirrors the backend's `SchemaKind`). */ export declare const SCHEMA_KINDS: readonly ["upload", "chat", "state"]; export interface InitOutcome { ok: boolean; outFile?: string; hint?: string; error?: string; } /** Field types accepted by pipeline schemas (mirrors the backend's `SchemaFieldType`). */ export declare const SCHEMA_FIELD_TYPES: readonly ["string", "number", "boolean", "email", "text", "datetime", "json"]; export declare function runInit(dir: string | undefined, opts: InitOptions, cwd: string): InitOutcome;