import { z } from 'zod';
export declare const HappierReplayStrategySchema: z.ZodEnum<{
    recent_messages: "recent_messages";
    summary_plus_recent: "summary_plus_recent";
}>;
export type HappierReplayStrategy = z.infer<typeof HappierReplayStrategySchema>;
export declare const HappierReplayDialogItemSchema: z.ZodObject<{
    role: z.ZodEnum<{
        User: "User";
        Assistant: "Assistant";
    }>;
    createdAt: z.ZodNumber;
    text: z.ZodString;
}, z.core.$strict>;
export type HappierReplayDialogItem = z.infer<typeof HappierReplayDialogItemSchema>;
export declare const HappierReplaySeedModeSchema: z.ZodEnum<{
    draft: "draft";
    daemon_initial_prompt: "daemon_initial_prompt";
}>;
export type HappierReplaySeedMode = z.infer<typeof HappierReplaySeedModeSchema>;
export declare const SessionContinueWithReplayRequestSchema: z.ZodObject<{
    previousSessionId: z.ZodString;
    strategy: z.ZodOptional<z.ZodEnum<{
        recent_messages: "recent_messages";
        summary_plus_recent: "summary_plus_recent";
    }>>;
    recentMessagesCount: z.ZodOptional<z.ZodNumber>;
    maxSeedChars: z.ZodOptional<z.ZodNumber>;
    seedMode: z.ZodOptional<z.ZodEnum<{
        draft: "draft";
        daemon_initial_prompt: "daemon_initial_prompt";
    }>>;
    summaryRunner: z.ZodOptional<z.ZodObject<{
        v: z.ZodLiteral<1>;
        backendTarget: z.ZodUnion<readonly [z.ZodObject<{
            kind: z.ZodLiteral<"builtInAgent">;
            agentId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            kind: z.ZodLiteral<"configuredAcpBackend">;
            backendId: z.ZodString;
        }, z.core.$strip>]>;
        modelId: z.ZodOptional<z.ZodString>;
        permissionMode: z.ZodOptional<z.ZodEnum<{
            read_only: "read_only";
            no_tools: "no_tools";
            workspace_write: "workspace_write";
            full: "full";
        }>>;
    }, z.core.$loose>>;
}, z.core.$strict>;
export type SessionContinueWithReplayRequest = z.infer<typeof SessionContinueWithReplayRequestSchema>;
export declare const SessionContinueWithReplayRpcParamsSchema: z.ZodObject<{
    directory: z.ZodString;
    agent: z.ZodString;
    approvedNewDirectoryCreation: z.ZodOptional<z.ZodBoolean>;
    permissionMode: z.ZodOptional<z.ZodString>;
    permissionModeUpdatedAt: z.ZodOptional<z.ZodNumber>;
    modelId: z.ZodOptional<z.ZodString>;
    modelUpdatedAt: z.ZodOptional<z.ZodNumber>;
    replay: z.ZodObject<{
        previousSessionId: z.ZodString;
        strategy: z.ZodOptional<z.ZodEnum<{
            recent_messages: "recent_messages";
            summary_plus_recent: "summary_plus_recent";
        }>>;
        recentMessagesCount: z.ZodOptional<z.ZodNumber>;
        maxSeedChars: z.ZodOptional<z.ZodNumber>;
        seedMode: z.ZodOptional<z.ZodEnum<{
            draft: "draft";
            daemon_initial_prompt: "daemon_initial_prompt";
        }>>;
        summaryRunner: z.ZodOptional<z.ZodObject<{
            v: z.ZodLiteral<1>;
            backendTarget: z.ZodUnion<readonly [z.ZodObject<{
                kind: z.ZodLiteral<"builtInAgent">;
                agentId: z.ZodString;
            }, z.core.$strip>, z.ZodObject<{
                kind: z.ZodLiteral<"configuredAcpBackend">;
                backendId: z.ZodString;
            }, z.core.$strip>]>;
            modelId: z.ZodOptional<z.ZodString>;
            permissionMode: z.ZodOptional<z.ZodEnum<{
                read_only: "read_only";
                no_tools: "no_tools";
                workspace_write: "workspace_write";
                full: "full";
            }>>;
        }, z.core.$loose>>;
    }, z.core.$strict>;
}, z.core.$strict>;
export type SessionContinueWithReplayRpcParams = z.infer<typeof SessionContinueWithReplayRpcParamsSchema>;
export declare const SessionContinueWithReplayRpcResultSchema: z.ZodUnion<readonly [z.ZodObject<{
    type: z.ZodLiteral<"success">;
    sessionId: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"requestToApproveDirectoryCreation">;
    directory: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"error">;
    errorCode: z.ZodString;
    errorMessage: z.ZodString;
}, z.core.$loose>]>;
export type SessionContinueWithReplayRpcResult = z.infer<typeof SessionContinueWithReplayRpcResultSchema>;
//# sourceMappingURL=sessionContinueWithReplay.d.ts.map