import { z } from 'zod';
export declare const SessionControlErrorCodeSchema: z.ZodEnum<{
    conflict: "conflict";
    unsupported: "unsupported";
    timeout: "timeout";
    execution_run_not_allowed: "execution_run_not_allowed";
    execution_run_not_found: "execution_run_not_found";
    execution_run_action_not_supported: "execution_run_action_not_supported";
    execution_run_invalid_action_input: "execution_run_invalid_action_input";
    execution_run_stream_not_found: "execution_run_stream_not_found";
    run_depth_exceeded: "run_depth_exceeded";
    not_authenticated: "not_authenticated";
    server_unreachable: "server_unreachable";
    session_not_found: "session_not_found";
    session_id_ambiguous: "session_id_ambiguous";
    session_active: "session_active";
    invalid_arguments: "invalid_arguments";
    unknown_error: "unknown_error";
    already_exists: "already_exists";
}>;
export type SessionControlErrorCode = z.infer<typeof SessionControlErrorCodeSchema>;
export declare const SessionControlErrorSchema: z.ZodObject<{
    code: z.ZodEnum<{
        conflict: "conflict";
        unsupported: "unsupported";
        timeout: "timeout";
        execution_run_not_allowed: "execution_run_not_allowed";
        execution_run_not_found: "execution_run_not_found";
        execution_run_action_not_supported: "execution_run_action_not_supported";
        execution_run_invalid_action_input: "execution_run_invalid_action_input";
        execution_run_stream_not_found: "execution_run_stream_not_found";
        run_depth_exceeded: "run_depth_exceeded";
        not_authenticated: "not_authenticated";
        server_unreachable: "server_unreachable";
        session_not_found: "session_not_found";
        session_id_ambiguous: "session_id_ambiguous";
        session_active: "session_active";
        invalid_arguments: "invalid_arguments";
        unknown_error: "unknown_error";
        already_exists: "already_exists";
    }>;
    message: z.ZodOptional<z.ZodString>;
    details: z.ZodOptional<z.ZodUnknown>;
}, z.core.$loose>;
export type SessionControlError = z.infer<typeof SessionControlErrorSchema>;
export declare const SessionControlEnvelopeSuccessSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodString;
    data: z.ZodUnknown;
}, z.core.$loose>;
export type SessionControlEnvelopeSuccess = z.infer<typeof SessionControlEnvelopeSuccessSchema>;
export declare const SessionControlEnvelopeErrorSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<false>;
    kind: z.ZodString;
    error: z.ZodObject<{
        code: z.ZodEnum<{
            conflict: "conflict";
            unsupported: "unsupported";
            timeout: "timeout";
            execution_run_not_allowed: "execution_run_not_allowed";
            execution_run_not_found: "execution_run_not_found";
            execution_run_action_not_supported: "execution_run_action_not_supported";
            execution_run_invalid_action_input: "execution_run_invalid_action_input";
            execution_run_stream_not_found: "execution_run_stream_not_found";
            run_depth_exceeded: "run_depth_exceeded";
            not_authenticated: "not_authenticated";
            server_unreachable: "server_unreachable";
            session_not_found: "session_not_found";
            session_id_ambiguous: "session_id_ambiguous";
            session_active: "session_active";
            invalid_arguments: "invalid_arguments";
            unknown_error: "unknown_error";
            already_exists: "already_exists";
        }>;
        message: z.ZodOptional<z.ZodString>;
        details: z.ZodOptional<z.ZodUnknown>;
    }, z.core.$loose>;
}, z.core.$loose>;
export type SessionControlEnvelopeError = z.infer<typeof SessionControlEnvelopeErrorSchema>;
export declare const SessionControlEnvelopeBaseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodString;
    data: z.ZodUnknown;
}, z.core.$loose>, z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<false>;
    kind: z.ZodString;
    error: z.ZodObject<{
        code: z.ZodEnum<{
            conflict: "conflict";
            unsupported: "unsupported";
            timeout: "timeout";
            execution_run_not_allowed: "execution_run_not_allowed";
            execution_run_not_found: "execution_run_not_found";
            execution_run_action_not_supported: "execution_run_action_not_supported";
            execution_run_invalid_action_input: "execution_run_invalid_action_input";
            execution_run_stream_not_found: "execution_run_stream_not_found";
            run_depth_exceeded: "run_depth_exceeded";
            not_authenticated: "not_authenticated";
            server_unreachable: "server_unreachable";
            session_not_found: "session_not_found";
            session_id_ambiguous: "session_id_ambiguous";
            session_active: "session_active";
            invalid_arguments: "invalid_arguments";
            unknown_error: "unknown_error";
            already_exists: "already_exists";
        }>;
        message: z.ZodOptional<z.ZodString>;
        details: z.ZodOptional<z.ZodUnknown>;
    }, z.core.$loose>;
}, z.core.$loose>], "ok">;
export type SessionControlEnvelopeBase = z.infer<typeof SessionControlEnvelopeBaseSchema>;
export declare const AuthStatusResultSchema: z.ZodObject<{
    authenticated: z.ZodLiteral<true>;
    encryption: z.ZodObject<{
        type: z.ZodEnum<{
            dataKey: "dataKey";
            legacy: "legacy";
        }>;
    }, z.core.$loose>;
    machineRegistered: z.ZodBoolean;
    machineId: z.ZodOptional<z.ZodString>;
    host: z.ZodString;
    happyHomeDir: z.ZodString;
    daemonRunning: z.ZodBoolean;
}, z.core.$loose>;
export type AuthStatusResult = z.infer<typeof AuthStatusResultSchema>;
export declare const SessionSummarySchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
    archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    pendingCount: z.ZodOptional<z.ZodNumber>;
    tag: z.ZodOptional<z.ZodString>;
    title: z.ZodOptional<z.ZodString>;
    path: z.ZodOptional<z.ZodString>;
    host: z.ZodOptional<z.ZodString>;
    share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        accessLevel: z.ZodString;
        canApprovePermissions: z.ZodBoolean;
    }, z.core.$strip>>>;
    isSystem: z.ZodOptional<z.ZodBoolean>;
    systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    encryptionMode: z.ZodOptional<z.ZodEnum<{
        plain: "plain";
        e2ee: "e2ee";
    }>>;
    encryption: z.ZodObject<{
        type: z.ZodEnum<{
            dataKey: "dataKey";
            legacy: "legacy";
        }>;
    }, z.core.$loose>;
}, z.core.$loose>;
export type SessionSummary = z.infer<typeof SessionSummarySchema>;
/**
 * Factory form (accepts a caller-provided `z`) for nohoist/multi-zod-instance repos.
 * Consumers that need to embed the schema into their own Zod objects should use this
 * instead of importing `SessionSystemSessionV1Schema` directly.
 */
export declare function createSessionSystemSessionV1Schema(zod: typeof z): z.ZodObject<{
    v: z.ZodLiteral<1>;
    key: z.ZodString;
    hidden: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export declare const SessionSystemSessionV1Schema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    key: z.ZodString;
    hidden: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export type SessionSystemSessionV1 = z.infer<typeof SessionSystemSessionV1Schema>;
export declare function createSessionMetadataSchema(zod: typeof z): z.ZodObject<{
    systemSessionV1: z.ZodOptional<z.ZodObject<{
        v: z.ZodLiteral<1>;
        key: z.ZodString;
        hidden: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export declare const SessionMetadataSchema: z.ZodObject<{
    systemSessionV1: z.ZodOptional<z.ZodObject<{
        v: z.ZodLiteral<1>;
        key: z.ZodString;
        hidden: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionMetadata = z.infer<typeof SessionMetadataSchema>;
export declare function readSystemSessionMetadataFromMetadata(params: Readonly<{
    metadata: unknown;
}>): SessionSystemSessionV1 | null;
export declare function isHiddenSystemSession(params: Readonly<{
    metadata: unknown;
}>): boolean;
export declare function buildSystemSessionMetadataV1(params: Readonly<{
    key: string;
    hidden?: boolean;
}>): {
    systemSessionV1: SessionSystemSessionV1;
};
export declare const SessionListResultSchema: z.ZodObject<{
    sessions: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        pendingCount: z.ZodOptional<z.ZodNumber>;
        tag: z.ZodOptional<z.ZodString>;
        title: z.ZodOptional<z.ZodString>;
        path: z.ZodOptional<z.ZodString>;
        host: z.ZodOptional<z.ZodString>;
        share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            accessLevel: z.ZodString;
            canApprovePermissions: z.ZodBoolean;
        }, z.core.$strip>>>;
        isSystem: z.ZodOptional<z.ZodBoolean>;
        systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        encryptionMode: z.ZodOptional<z.ZodEnum<{
            plain: "plain";
            e2ee: "e2ee";
        }>>;
        encryption: z.ZodObject<{
            type: z.ZodEnum<{
                dataKey: "dataKey";
                legacy: "legacy";
            }>;
        }, z.core.$loose>;
    }, z.core.$loose>>;
    nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    hasNext: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export type SessionListResult = z.infer<typeof SessionListResultSchema>;
export declare const SessionShareSchema: z.ZodObject<{
    accessLevel: z.ZodEnum<{
        view: "view";
        edit: "edit";
        admin: "admin";
    }>;
    canApprovePermissions: z.ZodBoolean;
}, z.core.$loose>;
export type SessionShare = z.infer<typeof SessionShareSchema>;
export declare const V2SessionRecordSchema: z.ZodObject<{
    id: z.ZodString;
    seq: z.ZodNumber;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
    archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    encryptionMode: z.ZodOptional<z.ZodEnum<{
        plain: "plain";
        e2ee: "e2ee";
    }>>;
    metadata: z.ZodString;
    metadataVersion: z.ZodNumber;
    agentState: z.ZodNullable<z.ZodString>;
    agentStateVersion: z.ZodNumber;
    lastViewedSessionSeq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    pendingPermissionRequestCount: z.ZodOptional<z.ZodNumber>;
    pendingUserActionRequestCount: z.ZodOptional<z.ZodNumber>;
    pendingCount: z.ZodOptional<z.ZodNumber>;
    pendingVersion: z.ZodOptional<z.ZodNumber>;
    dataEncryptionKey: z.ZodNullable<z.ZodString>;
    share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
        accessLevel: z.ZodEnum<{
            view: "view";
            edit: "edit";
            admin: "admin";
        }>;
        canApprovePermissions: z.ZodBoolean;
    }, z.core.$loose>>>;
}, z.core.$loose>;
export type V2SessionRecord = z.infer<typeof V2SessionRecordSchema>;
export declare const V2SessionListResponseSchema: z.ZodObject<{
    sessions: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        seq: z.ZodNumber;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        encryptionMode: z.ZodOptional<z.ZodEnum<{
            plain: "plain";
            e2ee: "e2ee";
        }>>;
        metadata: z.ZodString;
        metadataVersion: z.ZodNumber;
        agentState: z.ZodNullable<z.ZodString>;
        agentStateVersion: z.ZodNumber;
        lastViewedSessionSeq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        pendingPermissionRequestCount: z.ZodOptional<z.ZodNumber>;
        pendingUserActionRequestCount: z.ZodOptional<z.ZodNumber>;
        pendingCount: z.ZodOptional<z.ZodNumber>;
        pendingVersion: z.ZodOptional<z.ZodNumber>;
        dataEncryptionKey: z.ZodNullable<z.ZodString>;
        share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            accessLevel: z.ZodEnum<{
                view: "view";
                edit: "edit";
                admin: "admin";
            }>;
            canApprovePermissions: z.ZodBoolean;
        }, z.core.$loose>>>;
    }, z.core.$loose>>;
    nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    hasNext: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export type V2SessionListResponse = z.infer<typeof V2SessionListResponseSchema>;
export declare const V2_SESSION_LIST_CURSOR_V1_PREFIX: "cursor_v1_";
export declare function encodeV2SessionListCursorV1(sessionId: string): string;
export declare function decodeV2SessionListCursorV1(cursor: string): string | null;
export declare const V2SessionByIdResponseSchema: z.ZodObject<{
    session: z.ZodObject<{
        id: z.ZodString;
        seq: z.ZodNumber;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        encryptionMode: z.ZodOptional<z.ZodEnum<{
            plain: "plain";
            e2ee: "e2ee";
        }>>;
        metadata: z.ZodString;
        metadataVersion: z.ZodNumber;
        agentState: z.ZodNullable<z.ZodString>;
        agentStateVersion: z.ZodNumber;
        lastViewedSessionSeq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        pendingPermissionRequestCount: z.ZodOptional<z.ZodNumber>;
        pendingUserActionRequestCount: z.ZodOptional<z.ZodNumber>;
        pendingCount: z.ZodOptional<z.ZodNumber>;
        pendingVersion: z.ZodOptional<z.ZodNumber>;
        dataEncryptionKey: z.ZodNullable<z.ZodString>;
        share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            accessLevel: z.ZodEnum<{
                view: "view";
                edit: "edit";
                admin: "admin";
            }>;
            canApprovePermissions: z.ZodBoolean;
        }, z.core.$loose>>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export type V2SessionByIdResponse = z.infer<typeof V2SessionByIdResponseSchema>;
export declare const V2SessionByIdNotFoundSchema: z.ZodObject<{
    error: z.ZodLiteral<"Session not found">;
}, z.core.$strip>;
export type V2SessionByIdNotFound = z.infer<typeof V2SessionByIdNotFoundSchema>;
export declare const V2SessionMessageResponseSchema: z.ZodObject<{
    didWrite: z.ZodBoolean;
    message: z.ZodObject<{
        id: z.ZodString;
        seq: z.ZodNumber;
        localId: z.ZodNullable<z.ZodString>;
        createdAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>;
export type V2SessionMessageResponse = z.infer<typeof V2SessionMessageResponseSchema>;
export declare const SessionStatusResultSchema: z.ZodObject<{
    session: z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        pendingCount: z.ZodOptional<z.ZodNumber>;
        tag: z.ZodOptional<z.ZodString>;
        title: z.ZodOptional<z.ZodString>;
        path: z.ZodOptional<z.ZodString>;
        host: z.ZodOptional<z.ZodString>;
        share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            accessLevel: z.ZodString;
            canApprovePermissions: z.ZodBoolean;
        }, z.core.$strip>>>;
        isSystem: z.ZodOptional<z.ZodBoolean>;
        systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        encryptionMode: z.ZodOptional<z.ZodEnum<{
            plain: "plain";
            e2ee: "e2ee";
        }>>;
        encryption: z.ZodObject<{
            type: z.ZodEnum<{
                dataKey: "dataKey";
                legacy: "legacy";
            }>;
        }, z.core.$loose>;
    }, z.core.$loose>;
    agentState: z.ZodOptional<z.ZodObject<{
        controlledByUser: z.ZodOptional<z.ZodBoolean>;
        pendingRequestsCount: z.ZodNumber;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionStatusResult = z.infer<typeof SessionStatusResultSchema>;
export declare const SessionCreateResultSchema: z.ZodObject<{
    session: z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        pendingCount: z.ZodOptional<z.ZodNumber>;
        tag: z.ZodOptional<z.ZodString>;
        title: z.ZodOptional<z.ZodString>;
        path: z.ZodOptional<z.ZodString>;
        host: z.ZodOptional<z.ZodString>;
        share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            accessLevel: z.ZodString;
            canApprovePermissions: z.ZodBoolean;
        }, z.core.$strip>>>;
        isSystem: z.ZodOptional<z.ZodBoolean>;
        systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        encryptionMode: z.ZodOptional<z.ZodEnum<{
            plain: "plain";
            e2ee: "e2ee";
        }>>;
        encryption: z.ZodObject<{
            type: z.ZodEnum<{
                dataKey: "dataKey";
                legacy: "legacy";
            }>;
        }, z.core.$loose>;
    }, z.core.$loose>;
    created: z.ZodBoolean;
}, z.core.$loose>;
export type SessionCreateResult = z.infer<typeof SessionCreateResultSchema>;
export declare const SessionSendResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    localId: z.ZodString;
    waited: z.ZodBoolean;
}, z.core.$loose>;
export type SessionSendResult = z.infer<typeof SessionSendResultSchema>;
export declare const SessionWaitResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    idle: z.ZodLiteral<true>;
    observedAt: z.ZodNumber;
}, z.core.$loose>;
export type SessionWaitResult = z.infer<typeof SessionWaitResultSchema>;
export declare const SessionStopResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    stopped: z.ZodLiteral<true>;
}, z.core.$loose>;
export type SessionStopResult = z.infer<typeof SessionStopResultSchema>;
export declare const SessionArchiveResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    archivedAt: z.ZodNumber;
}, z.core.$loose>;
export type SessionArchiveResult = z.infer<typeof SessionArchiveResultSchema>;
export declare const SessionUnarchiveResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    archivedAt: z.ZodNull;
}, z.core.$loose>;
export type SessionUnarchiveResult = z.infer<typeof SessionUnarchiveResultSchema>;
export declare const SessionSetTitleResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    title: z.ZodString;
}, z.core.$loose>;
export type SessionSetTitleResult = z.infer<typeof SessionSetTitleResultSchema>;
export declare const SessionSetPermissionModeResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    permissionMode: z.ZodString;
    updatedAt: z.ZodNumber;
}, z.core.$loose>;
export type SessionSetPermissionModeResult = z.infer<typeof SessionSetPermissionModeResultSchema>;
export declare const SessionSetModelResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    modelId: z.ZodString;
    updatedAt: z.ZodNumber;
}, z.core.$loose>;
export type SessionSetModelResult = z.infer<typeof SessionSetModelResultSchema>;
export declare const SessionHistoryCompactMessageSchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodNumber;
    role: z.ZodString;
    kind: z.ZodString;
    text: z.ZodString;
    structuredKind: z.ZodOptional<z.ZodString>;
}, z.core.$loose>;
export type SessionHistoryCompactMessage = z.infer<typeof SessionHistoryCompactMessageSchema>;
export declare const SessionHistoryRawMessageSchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodNumber;
    role: z.ZodString;
    raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
}, z.core.$loose>;
export type SessionHistoryRawMessage = z.infer<typeof SessionHistoryRawMessageSchema>;
export declare const SessionHistoryResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    sessionId: z.ZodString;
    format: z.ZodLiteral<"compact">;
    messages: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodNumber;
        role: z.ZodString;
        kind: z.ZodString;
        text: z.ZodString;
        structuredKind: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>>;
}, z.core.$loose>, z.ZodObject<{
    sessionId: z.ZodString;
    format: z.ZodLiteral<"raw">;
    messages: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAt: z.ZodNumber;
        role: z.ZodString;
        raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$loose>>;
}, z.core.$loose>], "format">;
export type SessionHistoryResult = z.infer<typeof SessionHistoryResultSchema>;
export declare const SessionRunStartResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    callId: z.ZodString;
    intent: z.ZodString;
    backendId: z.ZodString;
}, z.core.$loose>;
export type SessionRunStartResult = z.infer<typeof SessionRunStartResultSchema>;
export declare const SessionRunListResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runs: z.ZodArray<z.ZodObject<{
        runId: z.ZodString;
        callId: z.ZodString;
        sidechainId: z.ZodString;
        intent: z.ZodEnum<{
            review: "review";
            plan: "plan";
            delegate: "delegate";
            voice_agent: "voice_agent";
            memory_hints: "memory_hints";
        }>;
        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>]>;
        display: z.ZodOptional<z.ZodObject<{
            title: z.ZodOptional<z.ZodString>;
            participantLabel: z.ZodOptional<z.ZodString>;
            groupId: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
        permissionMode: z.ZodString;
        retentionPolicy: z.ZodEnum<{
            ephemeral: "ephemeral";
            resumable: "resumable";
        }>;
        runClass: z.ZodEnum<{
            bounded: "bounded";
            long_lived: "long_lived";
        }>;
        ioMode: z.ZodEnum<{
            request_response: "request_response";
            streaming: "streaming";
        }>;
        status: z.ZodEnum<{
            failed: "failed";
            running: "running";
            succeeded: "succeeded";
            cancelled: "cancelled";
            timeout: "timeout";
        }>;
        turnInFlight: z.ZodOptional<z.ZodBoolean>;
        availableActionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
        resumeHandle: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
            kind: z.ZodLiteral<"vendor_session.v1">;
            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>]>;
            vendorSessionId: z.ZodString;
        }, z.core.$loose>, z.ZodObject<{
            kind: z.ZodLiteral<"voice_agent_sessions.v1">;
            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>]>;
            chatVendorSessionId: z.ZodString;
            commitVendorSessionId: z.ZodString;
        }, z.core.$loose>], "kind">>>;
        transcript: z.ZodOptional<z.ZodObject<{
            persistenceMode: z.ZodEnum<{
                ephemeral: "ephemeral";
                persistent: "persistent";
            }>;
            epoch: z.ZodNumber;
        }, z.core.$loose>>;
        startedAtMs: z.ZodNumber;
        finishedAtMs: z.ZodOptional<z.ZodNumber>;
        error: z.ZodOptional<z.ZodObject<{
            code: z.ZodString;
            message: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionRunListResult = z.infer<typeof SessionRunListResultSchema>;
export declare const SessionRunGetResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    run: z.ZodObject<{
        runId: z.ZodString;
        callId: z.ZodString;
        sidechainId: z.ZodString;
        intent: z.ZodEnum<{
            review: "review";
            plan: "plan";
            delegate: "delegate";
            voice_agent: "voice_agent";
            memory_hints: "memory_hints";
        }>;
        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>]>;
        display: z.ZodOptional<z.ZodObject<{
            title: z.ZodOptional<z.ZodString>;
            participantLabel: z.ZodOptional<z.ZodString>;
            groupId: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
        permissionMode: z.ZodString;
        retentionPolicy: z.ZodEnum<{
            ephemeral: "ephemeral";
            resumable: "resumable";
        }>;
        runClass: z.ZodEnum<{
            bounded: "bounded";
            long_lived: "long_lived";
        }>;
        ioMode: z.ZodEnum<{
            request_response: "request_response";
            streaming: "streaming";
        }>;
        status: z.ZodEnum<{
            failed: "failed";
            running: "running";
            succeeded: "succeeded";
            cancelled: "cancelled";
            timeout: "timeout";
        }>;
        turnInFlight: z.ZodOptional<z.ZodBoolean>;
        availableActionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
        resumeHandle: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
            kind: z.ZodLiteral<"vendor_session.v1">;
            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>]>;
            vendorSessionId: z.ZodString;
        }, z.core.$loose>, z.ZodObject<{
            kind: z.ZodLiteral<"voice_agent_sessions.v1">;
            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>]>;
            chatVendorSessionId: z.ZodString;
            commitVendorSessionId: z.ZodString;
        }, z.core.$loose>], "kind">>>;
        transcript: z.ZodOptional<z.ZodObject<{
            persistenceMode: z.ZodEnum<{
                ephemeral: "ephemeral";
                persistent: "persistent";
            }>;
            epoch: z.ZodNumber;
        }, z.core.$loose>>;
        startedAtMs: z.ZodNumber;
        finishedAtMs: z.ZodOptional<z.ZodNumber>;
        error: z.ZodOptional<z.ZodObject<{
            code: z.ZodString;
            message: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>;
    latestToolResult: z.ZodOptional<z.ZodObject<{
        _happier: z.ZodOptional<z.ZodObject<{
            v: z.ZodLiteral<2>;
            protocol: z.ZodEnum<{
                acp: "acp";
                codex: "codex";
                claude: "claude";
            }>;
            provider: z.ZodString;
            rawToolName: z.ZodString;
            canonicalToolName: z.ZodString;
        }, z.core.$loose>>;
        _happy: z.ZodOptional<z.ZodObject<{
            v: z.ZodLiteral<2>;
            protocol: z.ZodEnum<{
                acp: "acp";
                codex: "codex";
                claude: "claude";
            }>;
            provider: z.ZodString;
            rawToolName: z.ZodString;
            canonicalToolName: z.ZodString;
        }, z.core.$loose>>;
        _raw: z.ZodOptional<z.ZodUnknown>;
        status: z.ZodOptional<z.ZodString>;
        summary: z.ZodOptional<z.ZodString>;
        runId: z.ZodOptional<z.ZodString>;
        callId: z.ZodOptional<z.ZodString>;
        sidechainId: z.ZodOptional<z.ZodString>;
        backendId: z.ZodOptional<z.ZodString>;
        intent: z.ZodOptional<z.ZodString>;
        startedAtMs: z.ZodOptional<z.ZodNumber>;
        finishedAtMs: z.ZodOptional<z.ZodNumber>;
        findingsDigest: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            items: z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                title: z.ZodString;
                severity: z.ZodString;
                category: z.ZodString;
                filePath: z.ZodOptional<z.ZodString>;
                startLine: z.ZodOptional<z.ZodNumber>;
                endLine: z.ZodOptional<z.ZodNumber>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
        triage: z.ZodOptional<z.ZodObject<{
            findings: z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                status: z.ZodString;
                comment: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
        limits: z.ZodOptional<z.ZodObject<{
            findingsTruncated: z.ZodOptional<z.ZodBoolean>;
            patchesTruncated: z.ZodOptional<z.ZodBoolean>;
        }, z.core.$loose>>;
        error: z.ZodOptional<z.ZodObject<{
            code: z.ZodString;
            message: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>>;
    structuredMeta: z.ZodOptional<z.ZodObject<{
        kind: z.ZodString;
        payload: z.ZodUnknown;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionRunGetResult = z.infer<typeof SessionRunGetResultSchema>;
export declare const SessionRunSendResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    sent: z.ZodLiteral<true>;
}, z.core.$loose>;
export type SessionRunSendResult = z.infer<typeof SessionRunSendResultSchema>;
export declare const SessionRunStopResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    stopped: z.ZodLiteral<true>;
}, z.core.$loose>;
export type SessionRunStopResult = z.infer<typeof SessionRunStopResultSchema>;
export declare const SessionRunActionResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    actionId: z.ZodString;
    updatedToolResult: z.ZodOptional<z.ZodObject<{
        _happier: z.ZodOptional<z.ZodObject<{
            v: z.ZodLiteral<2>;
            protocol: z.ZodEnum<{
                acp: "acp";
                codex: "codex";
                claude: "claude";
            }>;
            provider: z.ZodString;
            rawToolName: z.ZodString;
            canonicalToolName: z.ZodString;
        }, z.core.$loose>>;
        _happy: z.ZodOptional<z.ZodObject<{
            v: z.ZodLiteral<2>;
            protocol: z.ZodEnum<{
                acp: "acp";
                codex: "codex";
                claude: "claude";
            }>;
            provider: z.ZodString;
            rawToolName: z.ZodString;
            canonicalToolName: z.ZodString;
        }, z.core.$loose>>;
        _raw: z.ZodOptional<z.ZodUnknown>;
        status: z.ZodOptional<z.ZodString>;
        summary: z.ZodOptional<z.ZodString>;
        runId: z.ZodOptional<z.ZodString>;
        callId: z.ZodOptional<z.ZodString>;
        sidechainId: z.ZodOptional<z.ZodString>;
        backendId: z.ZodOptional<z.ZodString>;
        intent: z.ZodOptional<z.ZodString>;
        startedAtMs: z.ZodOptional<z.ZodNumber>;
        finishedAtMs: z.ZodOptional<z.ZodNumber>;
        findingsDigest: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            items: z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                title: z.ZodString;
                severity: z.ZodString;
                category: z.ZodString;
                filePath: z.ZodOptional<z.ZodString>;
                startLine: z.ZodOptional<z.ZodNumber>;
                endLine: z.ZodOptional<z.ZodNumber>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
        triage: z.ZodOptional<z.ZodObject<{
            findings: z.ZodArray<z.ZodObject<{
                id: z.ZodString;
                status: z.ZodString;
                comment: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
        limits: z.ZodOptional<z.ZodObject<{
            findingsTruncated: z.ZodOptional<z.ZodBoolean>;
            patchesTruncated: z.ZodOptional<z.ZodBoolean>;
        }, z.core.$loose>>;
        error: z.ZodOptional<z.ZodObject<{
            code: z.ZodString;
            message: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionRunActionResult = z.infer<typeof SessionRunActionResultSchema>;
export declare const SessionRunWaitResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    status: z.ZodEnum<{
        failed: "failed";
        succeeded: "succeeded";
        cancelled: "cancelled";
        timeout: "timeout";
    }>;
}, z.core.$loose>;
export type SessionRunWaitResult = z.infer<typeof SessionRunWaitResultSchema>;
export declare const SessionRunStreamStartResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    streamId: z.ZodString;
}, z.core.$loose>;
export type SessionRunStreamStartResult = z.infer<typeof SessionRunStreamStartResultSchema>;
export declare const SessionRunStreamReadResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    streamId: z.ZodString;
    events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
        t: z.ZodLiteral<"delta">;
        textDelta: z.ZodString;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"done">;
        assistantText: z.ZodString;
        actions: z.ZodOptional<z.ZodArray<z.ZodType<Readonly<{
            t: string;
            args: unknown;
        }>, unknown, z.core.$ZodTypeInternals<Readonly<{
            t: string;
            args: unknown;
        }>, unknown>>>>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"error">;
        error: z.ZodString;
        errorCode: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>], "t">>;
    nextCursor: z.ZodNumber;
    done: z.ZodBoolean;
}, z.core.$loose>;
export type SessionRunStreamReadResult = z.infer<typeof SessionRunStreamReadResultSchema>;
export declare const SessionRunStreamCancelResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    runId: z.ZodString;
    streamId: z.ZodString;
    cancelled: z.ZodLiteral<true>;
}, z.core.$loose>;
export type SessionRunStreamCancelResult = z.infer<typeof SessionRunStreamCancelResultSchema>;
export declare const SessionListEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_list">;
    data: z.ZodObject<{
        sessions: z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            createdAt: z.ZodNumber;
            updatedAt: z.ZodNumber;
            active: z.ZodBoolean;
            activeAt: z.ZodNumber;
            archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            pendingCount: z.ZodOptional<z.ZodNumber>;
            tag: z.ZodOptional<z.ZodString>;
            title: z.ZodOptional<z.ZodString>;
            path: z.ZodOptional<z.ZodString>;
            host: z.ZodOptional<z.ZodString>;
            share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                accessLevel: z.ZodString;
                canApprovePermissions: z.ZodBoolean;
            }, z.core.$strip>>>;
            isSystem: z.ZodOptional<z.ZodBoolean>;
            systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            encryptionMode: z.ZodOptional<z.ZodEnum<{
                plain: "plain";
                e2ee: "e2ee";
            }>>;
            encryption: z.ZodObject<{
                type: z.ZodEnum<{
                    dataKey: "dataKey";
                    legacy: "legacy";
                }>;
            }, z.core.$loose>;
        }, z.core.$loose>>;
        nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hasNext: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionHistoryEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_history">;
    data: z.ZodDiscriminatedUnion<[z.ZodObject<{
        sessionId: z.ZodString;
        format: z.ZodLiteral<"compact">;
        messages: z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            createdAt: z.ZodNumber;
            role: z.ZodString;
            kind: z.ZodString;
            text: z.ZodString;
            structuredKind: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>, z.ZodObject<{
        sessionId: z.ZodString;
        format: z.ZodLiteral<"raw">;
        messages: z.ZodArray<z.ZodObject<{
            id: z.ZodString;
            createdAt: z.ZodNumber;
            role: z.ZodString;
            raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        }, z.core.$loose>>;
    }, z.core.$loose>], "format">;
}, z.core.$loose>;
export declare const SessionRunGetEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_get">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        run: z.ZodObject<{
            runId: z.ZodString;
            callId: z.ZodString;
            sidechainId: z.ZodString;
            intent: z.ZodEnum<{
                review: "review";
                plan: "plan";
                delegate: "delegate";
                voice_agent: "voice_agent";
                memory_hints: "memory_hints";
            }>;
            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>]>;
            display: z.ZodOptional<z.ZodObject<{
                title: z.ZodOptional<z.ZodString>;
                participantLabel: z.ZodOptional<z.ZodString>;
                groupId: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
            permissionMode: z.ZodString;
            retentionPolicy: z.ZodEnum<{
                ephemeral: "ephemeral";
                resumable: "resumable";
            }>;
            runClass: z.ZodEnum<{
                bounded: "bounded";
                long_lived: "long_lived";
            }>;
            ioMode: z.ZodEnum<{
                request_response: "request_response";
                streaming: "streaming";
            }>;
            status: z.ZodEnum<{
                failed: "failed";
                running: "running";
                succeeded: "succeeded";
                cancelled: "cancelled";
                timeout: "timeout";
            }>;
            turnInFlight: z.ZodOptional<z.ZodBoolean>;
            availableActionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
            resumeHandle: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
                kind: z.ZodLiteral<"vendor_session.v1">;
                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>]>;
                vendorSessionId: z.ZodString;
            }, z.core.$loose>, z.ZodObject<{
                kind: z.ZodLiteral<"voice_agent_sessions.v1">;
                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>]>;
                chatVendorSessionId: z.ZodString;
                commitVendorSessionId: z.ZodString;
            }, z.core.$loose>], "kind">>>;
            transcript: z.ZodOptional<z.ZodObject<{
                persistenceMode: z.ZodEnum<{
                    ephemeral: "ephemeral";
                    persistent: "persistent";
                }>;
                epoch: z.ZodNumber;
            }, z.core.$loose>>;
            startedAtMs: z.ZodNumber;
            finishedAtMs: z.ZodOptional<z.ZodNumber>;
            error: z.ZodOptional<z.ZodObject<{
                code: z.ZodString;
                message: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>;
        latestToolResult: z.ZodOptional<z.ZodObject<{
            _happier: z.ZodOptional<z.ZodObject<{
                v: z.ZodLiteral<2>;
                protocol: z.ZodEnum<{
                    acp: "acp";
                    codex: "codex";
                    claude: "claude";
                }>;
                provider: z.ZodString;
                rawToolName: z.ZodString;
                canonicalToolName: z.ZodString;
            }, z.core.$loose>>;
            _happy: z.ZodOptional<z.ZodObject<{
                v: z.ZodLiteral<2>;
                protocol: z.ZodEnum<{
                    acp: "acp";
                    codex: "codex";
                    claude: "claude";
                }>;
                provider: z.ZodString;
                rawToolName: z.ZodString;
                canonicalToolName: z.ZodString;
            }, z.core.$loose>>;
            _raw: z.ZodOptional<z.ZodUnknown>;
            status: z.ZodOptional<z.ZodString>;
            summary: z.ZodOptional<z.ZodString>;
            runId: z.ZodOptional<z.ZodString>;
            callId: z.ZodOptional<z.ZodString>;
            sidechainId: z.ZodOptional<z.ZodString>;
            backendId: z.ZodOptional<z.ZodString>;
            intent: z.ZodOptional<z.ZodString>;
            startedAtMs: z.ZodOptional<z.ZodNumber>;
            finishedAtMs: z.ZodOptional<z.ZodNumber>;
            findingsDigest: z.ZodOptional<z.ZodObject<{
                total: z.ZodNumber;
                items: z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    title: z.ZodString;
                    severity: z.ZodString;
                    category: z.ZodString;
                    filePath: z.ZodOptional<z.ZodString>;
                    startLine: z.ZodOptional<z.ZodNumber>;
                    endLine: z.ZodOptional<z.ZodNumber>;
                }, z.core.$loose>>;
            }, z.core.$loose>>;
            triage: z.ZodOptional<z.ZodObject<{
                findings: z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    status: z.ZodString;
                    comment: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>;
            }, z.core.$loose>>;
            limits: z.ZodOptional<z.ZodObject<{
                findingsTruncated: z.ZodOptional<z.ZodBoolean>;
                patchesTruncated: z.ZodOptional<z.ZodBoolean>;
            }, z.core.$loose>>;
            error: z.ZodOptional<z.ZodObject<{
                code: z.ZodString;
                message: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
        structuredMeta: z.ZodOptional<z.ZodObject<{
            kind: z.ZodString;
            payload: z.ZodUnknown;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionStatusEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_status">;
    data: z.ZodObject<{
        session: z.ZodObject<{
            id: z.ZodString;
            createdAt: z.ZodNumber;
            updatedAt: z.ZodNumber;
            active: z.ZodBoolean;
            activeAt: z.ZodNumber;
            archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            pendingCount: z.ZodOptional<z.ZodNumber>;
            tag: z.ZodOptional<z.ZodString>;
            title: z.ZodOptional<z.ZodString>;
            path: z.ZodOptional<z.ZodString>;
            host: z.ZodOptional<z.ZodString>;
            share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                accessLevel: z.ZodString;
                canApprovePermissions: z.ZodBoolean;
            }, z.core.$strip>>>;
            isSystem: z.ZodOptional<z.ZodBoolean>;
            systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            encryptionMode: z.ZodOptional<z.ZodEnum<{
                plain: "plain";
                e2ee: "e2ee";
            }>>;
            encryption: z.ZodObject<{
                type: z.ZodEnum<{
                    dataKey: "dataKey";
                    legacy: "legacy";
                }>;
            }, z.core.$loose>;
        }, z.core.$loose>;
        agentState: z.ZodOptional<z.ZodObject<{
            controlledByUser: z.ZodOptional<z.ZodBoolean>;
            pendingRequestsCount: z.ZodNumber;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionCreateEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_create">;
    data: z.ZodObject<{
        session: z.ZodObject<{
            id: z.ZodString;
            createdAt: z.ZodNumber;
            updatedAt: z.ZodNumber;
            active: z.ZodBoolean;
            activeAt: z.ZodNumber;
            archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            pendingCount: z.ZodOptional<z.ZodNumber>;
            tag: z.ZodOptional<z.ZodString>;
            title: z.ZodOptional<z.ZodString>;
            path: z.ZodOptional<z.ZodString>;
            host: z.ZodOptional<z.ZodString>;
            share: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                accessLevel: z.ZodString;
                canApprovePermissions: z.ZodBoolean;
            }, z.core.$strip>>>;
            isSystem: z.ZodOptional<z.ZodBoolean>;
            systemPurpose: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            encryptionMode: z.ZodOptional<z.ZodEnum<{
                plain: "plain";
                e2ee: "e2ee";
            }>>;
            encryption: z.ZodObject<{
                type: z.ZodEnum<{
                    dataKey: "dataKey";
                    legacy: "legacy";
                }>;
            }, z.core.$loose>;
        }, z.core.$loose>;
        created: z.ZodBoolean;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionSendEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_send">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        localId: z.ZodString;
        waited: z.ZodBoolean;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionWaitEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_wait">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        idle: z.ZodLiteral<true>;
        observedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionStopEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_stop">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        stopped: z.ZodLiteral<true>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionArchiveEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_archive">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        archivedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionUnarchiveEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_unarchive">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        archivedAt: z.ZodNull;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionSetTitleEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_set_title">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        title: z.ZodString;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionSetPermissionModeEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_set_permission_mode">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        permissionMode: z.ZodString;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionSetModelEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_set_model">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        modelId: z.ZodString;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunStartEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_start">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        callId: z.ZodString;
        intent: z.ZodString;
        backendId: z.ZodString;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunListEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_list">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runs: z.ZodArray<z.ZodObject<{
            runId: z.ZodString;
            callId: z.ZodString;
            sidechainId: z.ZodString;
            intent: z.ZodEnum<{
                review: "review";
                plan: "plan";
                delegate: "delegate";
                voice_agent: "voice_agent";
                memory_hints: "memory_hints";
            }>;
            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>]>;
            display: z.ZodOptional<z.ZodObject<{
                title: z.ZodOptional<z.ZodString>;
                participantLabel: z.ZodOptional<z.ZodString>;
                groupId: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
            permissionMode: z.ZodString;
            retentionPolicy: z.ZodEnum<{
                ephemeral: "ephemeral";
                resumable: "resumable";
            }>;
            runClass: z.ZodEnum<{
                bounded: "bounded";
                long_lived: "long_lived";
            }>;
            ioMode: z.ZodEnum<{
                request_response: "request_response";
                streaming: "streaming";
            }>;
            status: z.ZodEnum<{
                failed: "failed";
                running: "running";
                succeeded: "succeeded";
                cancelled: "cancelled";
                timeout: "timeout";
            }>;
            turnInFlight: z.ZodOptional<z.ZodBoolean>;
            availableActionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
            resumeHandle: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
                kind: z.ZodLiteral<"vendor_session.v1">;
                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>]>;
                vendorSessionId: z.ZodString;
            }, z.core.$loose>, z.ZodObject<{
                kind: z.ZodLiteral<"voice_agent_sessions.v1">;
                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>]>;
                chatVendorSessionId: z.ZodString;
                commitVendorSessionId: z.ZodString;
            }, z.core.$loose>], "kind">>>;
            transcript: z.ZodOptional<z.ZodObject<{
                persistenceMode: z.ZodEnum<{
                    ephemeral: "ephemeral";
                    persistent: "persistent";
                }>;
                epoch: z.ZodNumber;
            }, z.core.$loose>>;
            startedAtMs: z.ZodNumber;
            finishedAtMs: z.ZodOptional<z.ZodNumber>;
            error: z.ZodOptional<z.ZodObject<{
                code: z.ZodString;
                message: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunSendEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_send">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        sent: z.ZodLiteral<true>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunStopEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_stop">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        stopped: z.ZodLiteral<true>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunActionEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_action">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        actionId: z.ZodString;
        updatedToolResult: z.ZodOptional<z.ZodObject<{
            _happier: z.ZodOptional<z.ZodObject<{
                v: z.ZodLiteral<2>;
                protocol: z.ZodEnum<{
                    acp: "acp";
                    codex: "codex";
                    claude: "claude";
                }>;
                provider: z.ZodString;
                rawToolName: z.ZodString;
                canonicalToolName: z.ZodString;
            }, z.core.$loose>>;
            _happy: z.ZodOptional<z.ZodObject<{
                v: z.ZodLiteral<2>;
                protocol: z.ZodEnum<{
                    acp: "acp";
                    codex: "codex";
                    claude: "claude";
                }>;
                provider: z.ZodString;
                rawToolName: z.ZodString;
                canonicalToolName: z.ZodString;
            }, z.core.$loose>>;
            _raw: z.ZodOptional<z.ZodUnknown>;
            status: z.ZodOptional<z.ZodString>;
            summary: z.ZodOptional<z.ZodString>;
            runId: z.ZodOptional<z.ZodString>;
            callId: z.ZodOptional<z.ZodString>;
            sidechainId: z.ZodOptional<z.ZodString>;
            backendId: z.ZodOptional<z.ZodString>;
            intent: z.ZodOptional<z.ZodString>;
            startedAtMs: z.ZodOptional<z.ZodNumber>;
            finishedAtMs: z.ZodOptional<z.ZodNumber>;
            findingsDigest: z.ZodOptional<z.ZodObject<{
                total: z.ZodNumber;
                items: z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    title: z.ZodString;
                    severity: z.ZodString;
                    category: z.ZodString;
                    filePath: z.ZodOptional<z.ZodString>;
                    startLine: z.ZodOptional<z.ZodNumber>;
                    endLine: z.ZodOptional<z.ZodNumber>;
                }, z.core.$loose>>;
            }, z.core.$loose>>;
            triage: z.ZodOptional<z.ZodObject<{
                findings: z.ZodArray<z.ZodObject<{
                    id: z.ZodString;
                    status: z.ZodString;
                    comment: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>;
            }, z.core.$loose>>;
            limits: z.ZodOptional<z.ZodObject<{
                findingsTruncated: z.ZodOptional<z.ZodBoolean>;
                patchesTruncated: z.ZodOptional<z.ZodBoolean>;
            }, z.core.$loose>>;
            error: z.ZodOptional<z.ZodObject<{
                code: z.ZodString;
                message: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunWaitEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_wait">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        status: z.ZodEnum<{
            failed: "failed";
            succeeded: "succeeded";
            cancelled: "cancelled";
            timeout: "timeout";
        }>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunStreamStartEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_stream_start">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        streamId: z.ZodString;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunStreamReadEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_stream_read">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        streamId: z.ZodString;
        events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
            t: z.ZodLiteral<"delta">;
            textDelta: z.ZodString;
        }, z.core.$loose>, z.ZodObject<{
            t: z.ZodLiteral<"done">;
            assistantText: z.ZodString;
            actions: z.ZodOptional<z.ZodArray<z.ZodType<Readonly<{
                t: string;
                args: unknown;
            }>, unknown, z.core.$ZodTypeInternals<Readonly<{
                t: string;
                args: unknown;
            }>, unknown>>>>;
        }, z.core.$loose>, z.ZodObject<{
            t: z.ZodLiteral<"error">;
            error: z.ZodString;
            errorCode: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>], "t">>;
        nextCursor: z.ZodNumber;
        done: z.ZodBoolean;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionRunStreamCancelEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_run_stream_cancel">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        runId: z.ZodString;
        streamId: z.ZodString;
        cancelled: z.ZodLiteral<true>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const AuthStatusEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"auth_status">;
    data: z.ZodObject<{
        authenticated: z.ZodLiteral<true>;
        encryption: z.ZodObject<{
            type: z.ZodEnum<{
                dataKey: "dataKey";
                legacy: "legacy";
            }>;
        }, z.core.$loose>;
        machineRegistered: z.ZodBoolean;
        machineId: z.ZodOptional<z.ZodString>;
        host: z.ZodString;
        happyHomeDir: z.ZodString;
        daemonRunning: z.ZodBoolean;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionControlActionSpecSummarySchema: z.ZodObject<{
    id: z.ZodEnum<{
        "action.spec.search": "action.spec.search";
        "action.spec.get": "action.spec.get";
        "action.options.resolve": "action.options.resolve";
        "session.open": "session.open";
        "session.fork": "session.fork";
        "session.rollback": "session.rollback";
        "session.handoff": "session.handoff";
        "session.spawn_new": "session.spawn_new";
        "session.spawn_picker": "session.spawn_picker";
        "paths.list_recent": "paths.list_recent";
        "machines.list": "machines.list";
        "servers.list": "servers.list";
        "review.engines.list": "review.engines.list";
        "agents.backends.list": "agents.backends.list";
        "agents.models.list": "agents.models.list";
        "session.message.send": "session.message.send";
        "session.stop": "session.stop";
        "session.title.set": "session.title.set";
        "session.model.set": "session.model.set";
        "session.permission_mode.set": "session.permission_mode.set";
        "session.archive": "session.archive";
        "session.unarchive": "session.unarchive";
        "session.status.get": "session.status.get";
        "session.history.get": "session.history.get";
        "session.wait.idle": "session.wait.idle";
        "review.start": "review.start";
        "subagents.plan.start": "subagents.plan.start";
        "subagents.delegate.start": "subagents.delegate.start";
        "voice_agent.start": "voice_agent.start";
        "execution.run.start": "execution.run.start";
        "execution.run.list": "execution.run.list";
        "execution.run.get": "execution.run.get";
        "execution.run.send": "execution.run.send";
        "execution.run.stop": "execution.run.stop";
        "execution.run.action": "execution.run.action";
        "execution.run.wait": "execution.run.wait";
        "session.target.primary.set": "session.target.primary.set";
        "session.target.tracked.set": "session.target.tracked.set";
        "session.list": "session.list";
        "session.activity.get": "session.activity.get";
        "session.messages.recent.get": "session.messages.recent.get";
        "session.permission.respond": "session.permission.respond";
        "session.user_action.answer": "session.user_action.answer";
        "session.mode.set": "session.mode.set";
        "ui.voice_global.reset": "ui.voice_global.reset";
        "ui.voice_agent.teleport": "ui.voice_agent.teleport";
        "memory.search": "memory.search";
        "memory.get_window": "memory.get_window";
        "memory.ensure_up_to_date": "memory.ensure_up_to_date";
        "prompt_doc.update": "prompt_doc.update";
        "prompt_bundle.update": "prompt_bundle.update";
        "prompt_asset.export": "prompt_asset.export";
        "prompt_registry.install": "prompt_registry.install";
        "approval.request.create": "approval.request.create";
        "approval.request.decide": "approval.request.decide";
    }>;
    title: z.ZodString;
    description: z.ZodNullable<z.ZodString>;
    safety: z.ZodEnum<{
        safe: "safe";
        danger: "danger";
    }>;
    placements: z.ZodArray<z.ZodEnum<{
        agent_input_chips: "agent_input_chips";
        session_header: "session_header";
        session_info: "session_info";
        session_action_menu: "session_action_menu";
        command_palette: "command_palette";
        slash_command: "slash_command";
        voice_panel: "voice_panel";
        run_list: "run_list";
        run_card: "run_card";
    }>>;
    slash: z.ZodNullable<z.ZodObject<{
        tokens: z.ZodArray<z.ZodString>;
    }, z.core.$loose>>;
    bindings: z.ZodNullable<z.ZodObject<{
        voiceClientToolName: z.ZodOptional<z.ZodString>;
        mcpToolName: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>>;
    examples: z.ZodNullable<z.ZodObject<{
        voice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            argsExample: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>>;
        mcp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
            argsExample: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>>;
    }, z.core.$loose>>;
    surfaces: z.ZodObject<{
        ui_button: z.ZodBoolean;
        ui_slash_command: z.ZodBoolean;
        voice_tool: z.ZodBoolean;
        voice_action_block: z.ZodBoolean;
        session_agent: z.ZodBoolean;
        mcp: z.ZodBoolean;
        cli: z.ZodBoolean;
    }, z.core.$strict>;
    inputHints: z.ZodNullable<z.ZodObject<{
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
            path: z.ZodString;
            title: z.ZodString;
            description: z.ZodOptional<z.ZodString>;
            widget: z.ZodEnum<{
                text: "text";
                textarea: "textarea";
                text_list: "text_list";
                select: "select";
                multiselect: "multiselect";
                toggle: "toggle";
                checkbox: "checkbox";
            }>;
            listSeparator: z.ZodOptional<z.ZodEnum<{
                comma: "comma";
                newline: "newline";
            }>>;
            required: z.ZodOptional<z.ZodBoolean>;
            requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
            options: z.ZodOptional<z.ZodArray<z.ZodObject<{
                value: z.ZodString;
                label: z.ZodString;
                description: z.ZodOptional<z.ZodString>;
                disabled: z.ZodOptional<z.ZodBoolean>;
            }, z.core.$strict>>>;
            optionsSourceId: z.ZodOptional<z.ZodString>;
            visibleWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
            requiredWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
            disabledWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
        }, z.core.$strict>>>;
    }, z.core.$strict>>;
}, z.core.$loose>;
export type SessionControlActionSpecSummary = z.infer<typeof SessionControlActionSpecSummarySchema>;
export declare const SessionActionsListResultSchema: z.ZodObject<{
    actionSpecs: z.ZodArray<z.ZodObject<{
        id: z.ZodEnum<{
            "action.spec.search": "action.spec.search";
            "action.spec.get": "action.spec.get";
            "action.options.resolve": "action.options.resolve";
            "session.open": "session.open";
            "session.fork": "session.fork";
            "session.rollback": "session.rollback";
            "session.handoff": "session.handoff";
            "session.spawn_new": "session.spawn_new";
            "session.spawn_picker": "session.spawn_picker";
            "paths.list_recent": "paths.list_recent";
            "machines.list": "machines.list";
            "servers.list": "servers.list";
            "review.engines.list": "review.engines.list";
            "agents.backends.list": "agents.backends.list";
            "agents.models.list": "agents.models.list";
            "session.message.send": "session.message.send";
            "session.stop": "session.stop";
            "session.title.set": "session.title.set";
            "session.model.set": "session.model.set";
            "session.permission_mode.set": "session.permission_mode.set";
            "session.archive": "session.archive";
            "session.unarchive": "session.unarchive";
            "session.status.get": "session.status.get";
            "session.history.get": "session.history.get";
            "session.wait.idle": "session.wait.idle";
            "review.start": "review.start";
            "subagents.plan.start": "subagents.plan.start";
            "subagents.delegate.start": "subagents.delegate.start";
            "voice_agent.start": "voice_agent.start";
            "execution.run.start": "execution.run.start";
            "execution.run.list": "execution.run.list";
            "execution.run.get": "execution.run.get";
            "execution.run.send": "execution.run.send";
            "execution.run.stop": "execution.run.stop";
            "execution.run.action": "execution.run.action";
            "execution.run.wait": "execution.run.wait";
            "session.target.primary.set": "session.target.primary.set";
            "session.target.tracked.set": "session.target.tracked.set";
            "session.list": "session.list";
            "session.activity.get": "session.activity.get";
            "session.messages.recent.get": "session.messages.recent.get";
            "session.permission.respond": "session.permission.respond";
            "session.user_action.answer": "session.user_action.answer";
            "session.mode.set": "session.mode.set";
            "ui.voice_global.reset": "ui.voice_global.reset";
            "ui.voice_agent.teleport": "ui.voice_agent.teleport";
            "memory.search": "memory.search";
            "memory.get_window": "memory.get_window";
            "memory.ensure_up_to_date": "memory.ensure_up_to_date";
            "prompt_doc.update": "prompt_doc.update";
            "prompt_bundle.update": "prompt_bundle.update";
            "prompt_asset.export": "prompt_asset.export";
            "prompt_registry.install": "prompt_registry.install";
            "approval.request.create": "approval.request.create";
            "approval.request.decide": "approval.request.decide";
        }>;
        title: z.ZodString;
        description: z.ZodNullable<z.ZodString>;
        safety: z.ZodEnum<{
            safe: "safe";
            danger: "danger";
        }>;
        placements: z.ZodArray<z.ZodEnum<{
            agent_input_chips: "agent_input_chips";
            session_header: "session_header";
            session_info: "session_info";
            session_action_menu: "session_action_menu";
            command_palette: "command_palette";
            slash_command: "slash_command";
            voice_panel: "voice_panel";
            run_list: "run_list";
            run_card: "run_card";
        }>>;
        slash: z.ZodNullable<z.ZodObject<{
            tokens: z.ZodArray<z.ZodString>;
        }, z.core.$loose>>;
        bindings: z.ZodNullable<z.ZodObject<{
            voiceClientToolName: z.ZodOptional<z.ZodString>;
            mcpToolName: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
        examples: z.ZodNullable<z.ZodObject<{
            voice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                argsExample: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>>;
            mcp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                argsExample: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>>;
        }, z.core.$loose>>;
        surfaces: z.ZodObject<{
            ui_button: z.ZodBoolean;
            ui_slash_command: z.ZodBoolean;
            voice_tool: z.ZodBoolean;
            voice_action_block: z.ZodBoolean;
            session_agent: z.ZodBoolean;
            mcp: z.ZodBoolean;
            cli: z.ZodBoolean;
        }, z.core.$strict>;
        inputHints: z.ZodNullable<z.ZodObject<{
            title: z.ZodOptional<z.ZodString>;
            description: z.ZodOptional<z.ZodString>;
            fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
                path: z.ZodString;
                title: z.ZodString;
                description: z.ZodOptional<z.ZodString>;
                widget: z.ZodEnum<{
                    text: "text";
                    textarea: "textarea";
                    text_list: "text_list";
                    select: "select";
                    multiselect: "multiselect";
                    toggle: "toggle";
                    checkbox: "checkbox";
                }>;
                listSeparator: z.ZodOptional<z.ZodEnum<{
                    comma: "comma";
                    newline: "newline";
                }>>;
                required: z.ZodOptional<z.ZodBoolean>;
                requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
                options: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    value: z.ZodString;
                    label: z.ZodString;
                    description: z.ZodOptional<z.ZodString>;
                    disabled: z.ZodOptional<z.ZodBoolean>;
                }, z.core.$strict>>>;
                optionsSourceId: z.ZodOptional<z.ZodString>;
                visibleWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                requiredWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                disabledWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
            }, z.core.$strict>>>;
        }, z.core.$strict>>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type SessionActionsListResult = z.infer<typeof SessionActionsListResultSchema>;
export declare const SessionActionsDescribeResultSchema: z.ZodObject<{
    actionSpec: z.ZodObject<{
        id: z.ZodEnum<{
            "action.spec.search": "action.spec.search";
            "action.spec.get": "action.spec.get";
            "action.options.resolve": "action.options.resolve";
            "session.open": "session.open";
            "session.fork": "session.fork";
            "session.rollback": "session.rollback";
            "session.handoff": "session.handoff";
            "session.spawn_new": "session.spawn_new";
            "session.spawn_picker": "session.spawn_picker";
            "paths.list_recent": "paths.list_recent";
            "machines.list": "machines.list";
            "servers.list": "servers.list";
            "review.engines.list": "review.engines.list";
            "agents.backends.list": "agents.backends.list";
            "agents.models.list": "agents.models.list";
            "session.message.send": "session.message.send";
            "session.stop": "session.stop";
            "session.title.set": "session.title.set";
            "session.model.set": "session.model.set";
            "session.permission_mode.set": "session.permission_mode.set";
            "session.archive": "session.archive";
            "session.unarchive": "session.unarchive";
            "session.status.get": "session.status.get";
            "session.history.get": "session.history.get";
            "session.wait.idle": "session.wait.idle";
            "review.start": "review.start";
            "subagents.plan.start": "subagents.plan.start";
            "subagents.delegate.start": "subagents.delegate.start";
            "voice_agent.start": "voice_agent.start";
            "execution.run.start": "execution.run.start";
            "execution.run.list": "execution.run.list";
            "execution.run.get": "execution.run.get";
            "execution.run.send": "execution.run.send";
            "execution.run.stop": "execution.run.stop";
            "execution.run.action": "execution.run.action";
            "execution.run.wait": "execution.run.wait";
            "session.target.primary.set": "session.target.primary.set";
            "session.target.tracked.set": "session.target.tracked.set";
            "session.list": "session.list";
            "session.activity.get": "session.activity.get";
            "session.messages.recent.get": "session.messages.recent.get";
            "session.permission.respond": "session.permission.respond";
            "session.user_action.answer": "session.user_action.answer";
            "session.mode.set": "session.mode.set";
            "ui.voice_global.reset": "ui.voice_global.reset";
            "ui.voice_agent.teleport": "ui.voice_agent.teleport";
            "memory.search": "memory.search";
            "memory.get_window": "memory.get_window";
            "memory.ensure_up_to_date": "memory.ensure_up_to_date";
            "prompt_doc.update": "prompt_doc.update";
            "prompt_bundle.update": "prompt_bundle.update";
            "prompt_asset.export": "prompt_asset.export";
            "prompt_registry.install": "prompt_registry.install";
            "approval.request.create": "approval.request.create";
            "approval.request.decide": "approval.request.decide";
        }>;
        title: z.ZodString;
        description: z.ZodNullable<z.ZodString>;
        safety: z.ZodEnum<{
            safe: "safe";
            danger: "danger";
        }>;
        placements: z.ZodArray<z.ZodEnum<{
            agent_input_chips: "agent_input_chips";
            session_header: "session_header";
            session_info: "session_info";
            session_action_menu: "session_action_menu";
            command_palette: "command_palette";
            slash_command: "slash_command";
            voice_panel: "voice_panel";
            run_list: "run_list";
            run_card: "run_card";
        }>>;
        slash: z.ZodNullable<z.ZodObject<{
            tokens: z.ZodArray<z.ZodString>;
        }, z.core.$loose>>;
        bindings: z.ZodNullable<z.ZodObject<{
            voiceClientToolName: z.ZodOptional<z.ZodString>;
            mcpToolName: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
        examples: z.ZodNullable<z.ZodObject<{
            voice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                argsExample: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>>;
            mcp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                argsExample: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>>;
        }, z.core.$loose>>;
        surfaces: z.ZodObject<{
            ui_button: z.ZodBoolean;
            ui_slash_command: z.ZodBoolean;
            voice_tool: z.ZodBoolean;
            voice_action_block: z.ZodBoolean;
            session_agent: z.ZodBoolean;
            mcp: z.ZodBoolean;
            cli: z.ZodBoolean;
        }, z.core.$strict>;
        inputHints: z.ZodNullable<z.ZodObject<{
            title: z.ZodOptional<z.ZodString>;
            description: z.ZodOptional<z.ZodString>;
            fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
                path: z.ZodString;
                title: z.ZodString;
                description: z.ZodOptional<z.ZodString>;
                widget: z.ZodEnum<{
                    text: "text";
                    textarea: "textarea";
                    text_list: "text_list";
                    select: "select";
                    multiselect: "multiselect";
                    toggle: "toggle";
                    checkbox: "checkbox";
                }>;
                listSeparator: z.ZodOptional<z.ZodEnum<{
                    comma: "comma";
                    newline: "newline";
                }>>;
                required: z.ZodOptional<z.ZodBoolean>;
                requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
                options: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    value: z.ZodString;
                    label: z.ZodString;
                    description: z.ZodOptional<z.ZodString>;
                    disabled: z.ZodOptional<z.ZodBoolean>;
                }, z.core.$strict>>>;
                optionsSourceId: z.ZodOptional<z.ZodString>;
                visibleWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                requiredWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                disabledWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
            }, z.core.$strict>>>;
        }, z.core.$strict>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export type SessionActionsDescribeResult = z.infer<typeof SessionActionsDescribeResultSchema>;
export declare const SessionActionsExecuteResultSchema: z.ZodObject<{
    sessionId: z.ZodString;
    actionId: z.ZodString;
    result: z.ZodUnknown;
}, z.core.$loose>;
export type SessionActionsExecuteResult = z.infer<typeof SessionActionsExecuteResultSchema>;
export declare const SessionActionsListEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_actions_list">;
    data: z.ZodObject<{
        actionSpecs: z.ZodArray<z.ZodObject<{
            id: z.ZodEnum<{
                "action.spec.search": "action.spec.search";
                "action.spec.get": "action.spec.get";
                "action.options.resolve": "action.options.resolve";
                "session.open": "session.open";
                "session.fork": "session.fork";
                "session.rollback": "session.rollback";
                "session.handoff": "session.handoff";
                "session.spawn_new": "session.spawn_new";
                "session.spawn_picker": "session.spawn_picker";
                "paths.list_recent": "paths.list_recent";
                "machines.list": "machines.list";
                "servers.list": "servers.list";
                "review.engines.list": "review.engines.list";
                "agents.backends.list": "agents.backends.list";
                "agents.models.list": "agents.models.list";
                "session.message.send": "session.message.send";
                "session.stop": "session.stop";
                "session.title.set": "session.title.set";
                "session.model.set": "session.model.set";
                "session.permission_mode.set": "session.permission_mode.set";
                "session.archive": "session.archive";
                "session.unarchive": "session.unarchive";
                "session.status.get": "session.status.get";
                "session.history.get": "session.history.get";
                "session.wait.idle": "session.wait.idle";
                "review.start": "review.start";
                "subagents.plan.start": "subagents.plan.start";
                "subagents.delegate.start": "subagents.delegate.start";
                "voice_agent.start": "voice_agent.start";
                "execution.run.start": "execution.run.start";
                "execution.run.list": "execution.run.list";
                "execution.run.get": "execution.run.get";
                "execution.run.send": "execution.run.send";
                "execution.run.stop": "execution.run.stop";
                "execution.run.action": "execution.run.action";
                "execution.run.wait": "execution.run.wait";
                "session.target.primary.set": "session.target.primary.set";
                "session.target.tracked.set": "session.target.tracked.set";
                "session.list": "session.list";
                "session.activity.get": "session.activity.get";
                "session.messages.recent.get": "session.messages.recent.get";
                "session.permission.respond": "session.permission.respond";
                "session.user_action.answer": "session.user_action.answer";
                "session.mode.set": "session.mode.set";
                "ui.voice_global.reset": "ui.voice_global.reset";
                "ui.voice_agent.teleport": "ui.voice_agent.teleport";
                "memory.search": "memory.search";
                "memory.get_window": "memory.get_window";
                "memory.ensure_up_to_date": "memory.ensure_up_to_date";
                "prompt_doc.update": "prompt_doc.update";
                "prompt_bundle.update": "prompt_bundle.update";
                "prompt_asset.export": "prompt_asset.export";
                "prompt_registry.install": "prompt_registry.install";
                "approval.request.create": "approval.request.create";
                "approval.request.decide": "approval.request.decide";
            }>;
            title: z.ZodString;
            description: z.ZodNullable<z.ZodString>;
            safety: z.ZodEnum<{
                safe: "safe";
                danger: "danger";
            }>;
            placements: z.ZodArray<z.ZodEnum<{
                agent_input_chips: "agent_input_chips";
                session_header: "session_header";
                session_info: "session_info";
                session_action_menu: "session_action_menu";
                command_palette: "command_palette";
                slash_command: "slash_command";
                voice_panel: "voice_panel";
                run_list: "run_list";
                run_card: "run_card";
            }>>;
            slash: z.ZodNullable<z.ZodObject<{
                tokens: z.ZodArray<z.ZodString>;
            }, z.core.$loose>>;
            bindings: z.ZodNullable<z.ZodObject<{
                voiceClientToolName: z.ZodOptional<z.ZodString>;
                mcpToolName: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
            examples: z.ZodNullable<z.ZodObject<{
                voice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                    argsExample: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>>;
                mcp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                    argsExample: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>>;
            }, z.core.$loose>>;
            surfaces: z.ZodObject<{
                ui_button: z.ZodBoolean;
                ui_slash_command: z.ZodBoolean;
                voice_tool: z.ZodBoolean;
                voice_action_block: z.ZodBoolean;
                session_agent: z.ZodBoolean;
                mcp: z.ZodBoolean;
                cli: z.ZodBoolean;
            }, z.core.$strict>;
            inputHints: z.ZodNullable<z.ZodObject<{
                title: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
                fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
                    path: z.ZodString;
                    title: z.ZodString;
                    description: z.ZodOptional<z.ZodString>;
                    widget: z.ZodEnum<{
                        text: "text";
                        textarea: "textarea";
                        text_list: "text_list";
                        select: "select";
                        multiselect: "multiselect";
                        toggle: "toggle";
                        checkbox: "checkbox";
                    }>;
                    listSeparator: z.ZodOptional<z.ZodEnum<{
                        comma: "comma";
                        newline: "newline";
                    }>>;
                    required: z.ZodOptional<z.ZodBoolean>;
                    requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
                    options: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        value: z.ZodString;
                        label: z.ZodString;
                        description: z.ZodOptional<z.ZodString>;
                        disabled: z.ZodOptional<z.ZodBoolean>;
                    }, z.core.$strict>>>;
                    optionsSourceId: z.ZodOptional<z.ZodString>;
                    visibleWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                    requiredWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                    disabledWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                }, z.core.$strict>>>;
            }, z.core.$strict>>;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionActionsDescribeEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_actions_describe">;
    data: z.ZodObject<{
        actionSpec: z.ZodObject<{
            id: z.ZodEnum<{
                "action.spec.search": "action.spec.search";
                "action.spec.get": "action.spec.get";
                "action.options.resolve": "action.options.resolve";
                "session.open": "session.open";
                "session.fork": "session.fork";
                "session.rollback": "session.rollback";
                "session.handoff": "session.handoff";
                "session.spawn_new": "session.spawn_new";
                "session.spawn_picker": "session.spawn_picker";
                "paths.list_recent": "paths.list_recent";
                "machines.list": "machines.list";
                "servers.list": "servers.list";
                "review.engines.list": "review.engines.list";
                "agents.backends.list": "agents.backends.list";
                "agents.models.list": "agents.models.list";
                "session.message.send": "session.message.send";
                "session.stop": "session.stop";
                "session.title.set": "session.title.set";
                "session.model.set": "session.model.set";
                "session.permission_mode.set": "session.permission_mode.set";
                "session.archive": "session.archive";
                "session.unarchive": "session.unarchive";
                "session.status.get": "session.status.get";
                "session.history.get": "session.history.get";
                "session.wait.idle": "session.wait.idle";
                "review.start": "review.start";
                "subagents.plan.start": "subagents.plan.start";
                "subagents.delegate.start": "subagents.delegate.start";
                "voice_agent.start": "voice_agent.start";
                "execution.run.start": "execution.run.start";
                "execution.run.list": "execution.run.list";
                "execution.run.get": "execution.run.get";
                "execution.run.send": "execution.run.send";
                "execution.run.stop": "execution.run.stop";
                "execution.run.action": "execution.run.action";
                "execution.run.wait": "execution.run.wait";
                "session.target.primary.set": "session.target.primary.set";
                "session.target.tracked.set": "session.target.tracked.set";
                "session.list": "session.list";
                "session.activity.get": "session.activity.get";
                "session.messages.recent.get": "session.messages.recent.get";
                "session.permission.respond": "session.permission.respond";
                "session.user_action.answer": "session.user_action.answer";
                "session.mode.set": "session.mode.set";
                "ui.voice_global.reset": "ui.voice_global.reset";
                "ui.voice_agent.teleport": "ui.voice_agent.teleport";
                "memory.search": "memory.search";
                "memory.get_window": "memory.get_window";
                "memory.ensure_up_to_date": "memory.ensure_up_to_date";
                "prompt_doc.update": "prompt_doc.update";
                "prompt_bundle.update": "prompt_bundle.update";
                "prompt_asset.export": "prompt_asset.export";
                "prompt_registry.install": "prompt_registry.install";
                "approval.request.create": "approval.request.create";
                "approval.request.decide": "approval.request.decide";
            }>;
            title: z.ZodString;
            description: z.ZodNullable<z.ZodString>;
            safety: z.ZodEnum<{
                safe: "safe";
                danger: "danger";
            }>;
            placements: z.ZodArray<z.ZodEnum<{
                agent_input_chips: "agent_input_chips";
                session_header: "session_header";
                session_info: "session_info";
                session_action_menu: "session_action_menu";
                command_palette: "command_palette";
                slash_command: "slash_command";
                voice_panel: "voice_panel";
                run_list: "run_list";
                run_card: "run_card";
            }>>;
            slash: z.ZodNullable<z.ZodObject<{
                tokens: z.ZodArray<z.ZodString>;
            }, z.core.$loose>>;
            bindings: z.ZodNullable<z.ZodObject<{
                voiceClientToolName: z.ZodOptional<z.ZodString>;
                mcpToolName: z.ZodOptional<z.ZodString>;
            }, z.core.$loose>>;
            examples: z.ZodNullable<z.ZodObject<{
                voice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                    argsExample: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>>;
                mcp: z.ZodOptional<z.ZodNullable<z.ZodObject<{
                    argsExample: z.ZodOptional<z.ZodString>;
                }, z.core.$loose>>>;
            }, z.core.$loose>>;
            surfaces: z.ZodObject<{
                ui_button: z.ZodBoolean;
                ui_slash_command: z.ZodBoolean;
                voice_tool: z.ZodBoolean;
                voice_action_block: z.ZodBoolean;
                session_agent: z.ZodBoolean;
                mcp: z.ZodBoolean;
                cli: z.ZodBoolean;
            }, z.core.$strict>;
            inputHints: z.ZodNullable<z.ZodObject<{
                title: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
                fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
                    path: z.ZodString;
                    title: z.ZodString;
                    description: z.ZodOptional<z.ZodString>;
                    widget: z.ZodEnum<{
                        text: "text";
                        textarea: "textarea";
                        text_list: "text_list";
                        select: "select";
                        multiselect: "multiselect";
                        toggle: "toggle";
                        checkbox: "checkbox";
                    }>;
                    listSeparator: z.ZodOptional<z.ZodEnum<{
                        comma: "comma";
                        newline: "newline";
                    }>>;
                    required: z.ZodOptional<z.ZodBoolean>;
                    requireExplicitSelection: z.ZodOptional<z.ZodBoolean>;
                    options: z.ZodOptional<z.ZodArray<z.ZodObject<{
                        value: z.ZodString;
                        label: z.ZodString;
                        description: z.ZodOptional<z.ZodString>;
                        disabled: z.ZodOptional<z.ZodBoolean>;
                    }, z.core.$strict>>>;
                    optionsSourceId: z.ZodOptional<z.ZodString>;
                    visibleWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                    requiredWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                    disabledWhen: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
                }, z.core.$strict>>>;
            }, z.core.$strict>>;
        }, z.core.$loose>;
    }, z.core.$loose>;
}, z.core.$loose>;
export declare const SessionActionsExecuteEnvelopeSchema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    kind: z.ZodLiteral<"session_actions_execute">;
    data: z.ZodObject<{
        sessionId: z.ZodString;
        actionId: z.ZodString;
        result: z.ZodUnknown;
    }, z.core.$loose>;
}, z.core.$loose>;
//# sourceMappingURL=contract.d.ts.map