import type { ConfigV1 } from "./types.js"; export declare const DEFAULT_IMPORT_MAX_BYTES = 1048576; export interface ImportParseOptions { readonly maxBytes?: number; readonly migrate?: (value: unknown) => unknown; } export interface TransferPreview { readonly config: ConfigV1; readonly changed: boolean; readonly before?: string; readonly after: string; } /** Export semantic configuration only; storage/runtime metadata is omitted. */ export declare function exportConfig(config: ConfigV1): string; /** Parse, migrate, and validate an import without touching disk. */ export declare function parseConfigImport(input: string | unknown, options?: ImportParseOptions): ConfigV1; export declare function previewConfigImport(input: string | unknown, current: ConfigV1 | undefined, options?: ImportParseOptions): TransferPreview;