import { z } from 'zod/v3';
export { normalizeWorkspaceRoot, slugifyPrompt } from './generatedDestination';
import { sourceContextInputSchema, type VisualEditorAttachment } from './contracts';
import { type ErrorCode } from './errors';
import type { ToolDeps } from './tools';
export type CreateZeroToOneInput = {
    prompt: string;
    count?: number;
    destinationParent?: string;
    framework?: 'vite';
    sourceContext?: z.infer<typeof sourceContextInputSchema>;
    sessionId?: string;
};
/**
 * Result of the source-grounded zero-to-one kickoff, used by
 * `start_variants(mode='zero_to_one')` for source-grounded sessions. The
 * work-item descriptors match {@link SourcePlanWorkItemDescriptor} /
 * {@link BriefWorkItemDescriptor}.
 */
export type SourceGroundedKickoffResult = {
    sessionId: string;
    stage: 'awaiting_source_plan';
    sourcePlanWorkItem: {
        id: string;
        kind: 'source_plan';
        attempt: number;
        input: unknown;
        output_schema: unknown;
    };
    nextAction: 'continue_variants';
    destinationPath: string;
    visualEditor?: VisualEditorAttachment;
    warnings?: string[];
} | {
    sessionId: string;
    stage: 'awaiting_briefs';
    briefWorkItem: {
        id: string;
        kind: 'brief';
        attempt: number;
        input: unknown;
        output_schema: unknown;
    };
    nextAction: 'report_variant_briefs';
    destinationPath: string;
    visualEditor?: VisualEditorAttachment;
    warnings?: string[];
} | {
    stage: 'failed';
    errorCode: ErrorCode;
    message: string;
};
/**
 * Run the source-grounded fresh-project kickoff: validate the framework,
 * resolve/normalize inspiration sources, derive the destination, build the
 * `kind:'fresh'` project context (with sourceContext + assetSourceRoot), open
 * the visual editor, and start the source-research flow via
 * `orchestrator.propose`. Returns the multi-step `awaiting_*` stage the agent
 * drives next. Owns its own try/catch so callers can surface the result
 * directly. Called by `start_variants(mode='zero_to_one')` when a session is
 * source-grounded.
 */
export declare function kickoffSourceGroundedZeroToOne(args: CreateZeroToOneInput, deps: ToolDeps): Promise<SourceGroundedKickoffResult>;
//# sourceMappingURL=createZeroToOneTool.d.ts.map