import { z } from 'zod';
export declare const TOOL_PROPOSE_WRITEBACK_DESCRIPTION: string;
export declare const toolProposeWritebackArgsSchema: z.ZodObject<{
    prompt: z.ZodNullable<z.ZodString>;
    prUrl: z.ZodNullable<z.ZodString>;
    fromActiveChangeset: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    prompt: string | null;
    prUrl: string | null;
    fromActiveChangeset: boolean;
}, {
    prompt: string | null;
    prUrl: string | null;
    fromActiveChangeset: boolean;
}>;
export declare const toolProposeWritebackOutputSchema: z.ZodObject<{
    result: z.ZodString;
    metadata: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
        status: z.ZodLiteral<"success">;
        prUrl: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        status: "success";
        prUrl: string | null;
    }, {
        status: "success";
        prUrl: string | null;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"error">;
    }, "strip", z.ZodTypeAny, {
        status: "error";
    }, {
        status: "error";
    }>]>;
}, "strip", z.ZodTypeAny, {
    result: string;
    metadata: {
        status: "success";
        prUrl: string | null;
    } | {
        status: "error";
    };
}, {
    result: string;
    metadata: {
        status: "success";
        prUrl: string | null;
    } | {
        status: "error";
    };
}>;
export type ToolProposeWritebackArgs = z.infer<typeof toolProposeWritebackArgsSchema>;
export type ToolProposeWritebackOutput = z.infer<typeof toolProposeWritebackOutputSchema>;
type ToolProposeWritebackResultLike = {
    toolType: string;
    toolName: string;
    metadata: ToolProposeWritebackOutput['metadata'] | Record<string, unknown> | null;
};
type ToolProposeWritebackResult = ToolProposeWritebackResultLike & {
    toolType: 'built-in';
    toolName: 'proposeWriteback';
    metadata: ToolProposeWritebackOutput['metadata'];
};
export declare const isToolProposeWritebackResult: <T extends ToolProposeWritebackResultLike>(result: T) => result is T & ToolProposeWritebackResult;
export {};
//# sourceMappingURL=toolProposeWritebackArgs.d.ts.map