import type { RouteContext, RouteResult } from "../routes.js";
import type { UiHandlerDeps } from "../deps.js";
declare const FIGMA_CODEGEN_SCHEMA_VERSION: 1;
/** The persisted, reviewable code artifact (evidence-backed; deterministic, carries no timestamp). */
export interface PersistedFigmaCodeArtifact {
    readonly figmaCodegenSchemaVersion: typeof FIGMA_CODEGEN_SCHEMA_VERSION;
    readonly runId: string;
    readonly adapterName: string;
    readonly files: readonly {
        readonly path: string;
        readonly contents: string;
    }[];
}
/** Browser-safe response: the reviewable file set plus a small summary. No token, no board id. */
export interface FigmaCodegenResponse {
    readonly runId: string;
    readonly adapterName: string;
    readonly fileCount: number;
    readonly totalBytes: number;
    readonly screenCount: number;
    readonly files: readonly {
        readonly path: string;
        readonly contents: string;
    }[];
}
export declare function handleFigmaGenerateCode(ctx: RouteContext, deps: UiHandlerDeps): RouteResult;
export {};
//# sourceMappingURL=figmaCodegenRoutes.d.ts.map