import { z } from 'zod';
export declare const DirectSessionsProviderIdSchema: z.ZodEnum<{
    codex: "codex";
    opencode: "opencode";
    claude: "claude";
}>;
export type DirectSessionsProviderId = z.infer<typeof DirectSessionsProviderIdSchema>;
export declare const DirectSessionsSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    kind: z.ZodLiteral<"codexHome">;
    home: z.ZodEnum<{
        user: "user";
        connectedService: "connectedService";
    }>;
    homePath: z.ZodOptional<z.ZodString>;
    connectedServiceId: z.ZodOptional<z.ZodString>;
    connectedServiceProfileId: z.ZodOptional<z.ZodString>;
}, z.core.$loose>, z.ZodObject<{
    kind: z.ZodLiteral<"claudeConfig">;
    configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$loose>, z.ZodObject<{
    kind: z.ZodLiteral<"opencodeServer">;
    baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$loose>], "kind">;
export type DirectSessionsSource = z.infer<typeof DirectSessionsSourceSchema>;
export declare const DirectSessionsCandidatesListRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    providerId: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    source: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"codexHome">;
        home: z.ZodEnum<{
            user: "user";
            connectedService: "connectedService";
        }>;
        homePath: z.ZodOptional<z.ZodString>;
        connectedServiceId: z.ZodOptional<z.ZodString>;
        connectedServiceProfileId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"claudeConfig">;
        configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"opencodeServer">;
        baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>], "kind">;
    cursor: z.ZodOptional<z.ZodString>;
    limit: z.ZodOptional<z.ZodNumber>;
    searchTerm: z.ZodOptional<z.ZodString>;
}, z.core.$loose>;
export type DirectSessionsCandidatesListRequest = z.infer<typeof DirectSessionsCandidatesListRequestSchema>;
export declare const DirectSessionsCandidatesListResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    candidates: z.ZodArray<z.ZodLazy<z.ZodObject<{
        remoteSessionId: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        updatedAtMs: z.ZodNumber;
        createdAtMs: z.ZodOptional<z.ZodNumber>;
        activity: z.ZodOptional<z.ZodEnum<{
            unknown: "unknown";
            running: "running";
            active_recently: "active_recently";
            idle: "idle";
        }>>;
        archived: z.ZodOptional<z.ZodBoolean>;
        details: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
    }, z.core.$loose>>>;
    nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectSessionsCandidatesListResponse = z.infer<typeof DirectSessionsCandidatesListResponseSchema>;
export declare const DirectSessionLinkEnsureRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    providerId: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    remoteSessionId: z.ZodString;
    titleHint: z.ZodOptional<z.ZodString>;
    directoryHint: z.ZodOptional<z.ZodString>;
    codexBackendMode: z.ZodOptional<z.ZodEnum<{
        mcp: "mcp";
        acp: "acp";
        appServer: "appServer";
    }>>;
    runtimeDescriptor: z.ZodOptional<z.ZodObject<{
        v: z.ZodLiteral<1>;
        providerId: z.ZodString;
        provider: z.ZodObject<{
            providerExtra: z.ZodOptional<z.ZodObject<{
                owner: z.ZodString;
                schemaId: z.ZodString;
                v: z.ZodNumber;
            }, z.core.$loose>>;
        }, z.core.$loose>;
    }, z.core.$loose>>;
    source: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"codexHome">;
        home: z.ZodEnum<{
            user: "user";
            connectedService: "connectedService";
        }>;
        homePath: z.ZodOptional<z.ZodString>;
        connectedServiceId: z.ZodOptional<z.ZodString>;
        connectedServiceProfileId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"claudeConfig">;
        configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"opencodeServer">;
        baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>], "kind">;
}, z.core.$loose>;
export type DirectSessionLinkEnsureRequest = z.infer<typeof DirectSessionLinkEnsureRequestSchema>;
export declare const DirectSessionLinkEnsureResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    sessionId: z.ZodString;
    created: z.ZodBoolean;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectSessionLinkEnsureResponse = z.infer<typeof DirectSessionLinkEnsureResponseSchema>;
export declare const DirectSessionActivityV1Schema: z.ZodEnum<{
    unknown: "unknown";
    running: "running";
    active_recently: "active_recently";
    idle: "idle";
}>;
export type DirectSessionActivityV1 = z.infer<typeof DirectSessionActivityV1Schema>;
export declare const DirectSessionCandidateV1Schema: z.ZodObject<{
    remoteSessionId: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    updatedAtMs: z.ZodNumber;
    createdAtMs: z.ZodOptional<z.ZodNumber>;
    activity: z.ZodOptional<z.ZodEnum<{
        unknown: "unknown";
        running: "running";
        active_recently: "active_recently";
        idle: "idle";
    }>>;
    archived: z.ZodOptional<z.ZodBoolean>;
    details: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
}, z.core.$loose>;
export type DirectSessionCandidateV1 = z.infer<typeof DirectSessionCandidateV1Schema>;
export declare const DirectSessionStatusGetRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    sessionId: z.ZodString;
    providerId: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    remoteSessionId: z.ZodString;
    source: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"codexHome">;
        home: z.ZodEnum<{
            user: "user";
            connectedService: "connectedService";
        }>;
        homePath: z.ZodOptional<z.ZodString>;
        connectedServiceId: z.ZodOptional<z.ZodString>;
        connectedServiceProfileId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"claudeConfig">;
        configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"opencodeServer">;
        baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>], "kind">;
}, z.core.$loose>;
export type DirectSessionStatusGetRequest = z.infer<typeof DirectSessionStatusGetRequestSchema>;
export declare const DirectSessionStatusGetResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    machineOnline: z.ZodBoolean;
    runnerActive: z.ZodBoolean;
    activity: z.ZodEnum<{
        unknown: "unknown";
        running: "running";
        active_recently: "active_recently";
        idle: "idle";
    }>;
    canTakeOverDirect: z.ZodBoolean;
    canTakeOverPersist: z.ZodBoolean;
    canForceStop: z.ZodBoolean;
    trustedPid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    lastKnownActivityAtMs: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectSessionStatusGetResponse = z.infer<typeof DirectSessionStatusGetResponseSchema>;
export declare const DirectTranscriptRawMessageV1Schema: z.ZodObject<{
    id: z.ZodString;
    createdAtMs: z.ZodNumber;
    localId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    raw: z.ZodObject<{}, z.core.$loose>;
}, z.core.$loose>;
export type DirectTranscriptRawMessageV1 = z.infer<typeof DirectTranscriptRawMessageV1Schema>;
export declare const DirectTranscriptPageRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    providerId: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    remoteSessionId: z.ZodString;
    source: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"codexHome">;
        home: z.ZodEnum<{
            user: "user";
            connectedService: "connectedService";
        }>;
        homePath: z.ZodOptional<z.ZodString>;
        connectedServiceId: z.ZodOptional<z.ZodString>;
        connectedServiceProfileId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"claudeConfig">;
        configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"opencodeServer">;
        baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>], "kind">;
    direction: z.ZodEnum<{
        older: "older";
        newer: "newer";
    }>;
    cursor: z.ZodOptional<z.ZodString>;
    maxBytes: z.ZodOptional<z.ZodNumber>;
    maxItems: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>;
export type DirectTranscriptPageRequest = z.infer<typeof DirectTranscriptPageRequestSchema>;
export declare const DirectTranscriptPageResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    items: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAtMs: z.ZodNumber;
        localId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        raw: z.ZodObject<{}, z.core.$loose>;
    }, z.core.$loose>>;
    nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    tailCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    hasMore: z.ZodBoolean;
    truncated: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectTranscriptPageResponse = z.infer<typeof DirectTranscriptPageResponseSchema>;
export declare const DirectTranscriptReadAfterRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    providerId: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    remoteSessionId: z.ZodString;
    source: z.ZodDiscriminatedUnion<[z.ZodObject<{
        kind: z.ZodLiteral<"codexHome">;
        home: z.ZodEnum<{
            user: "user";
            connectedService: "connectedService";
        }>;
        homePath: z.ZodOptional<z.ZodString>;
        connectedServiceId: z.ZodOptional<z.ZodString>;
        connectedServiceProfileId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"claudeConfig">;
        configDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        kind: z.ZodLiteral<"opencodeServer">;
        baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>], "kind">;
    cursor: z.ZodString;
    maxBytes: z.ZodOptional<z.ZodNumber>;
    maxItems: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>;
export type DirectTranscriptReadAfterRequest = z.infer<typeof DirectTranscriptReadAfterRequestSchema>;
export declare const DirectTranscriptReadAfterResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    items: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        createdAtMs: z.ZodNumber;
        localId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        raw: z.ZodObject<{}, z.core.$loose>;
    }, z.core.$loose>>;
    nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    truncated: z.ZodBoolean;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectTranscriptReadAfterResponse = z.infer<typeof DirectTranscriptReadAfterResponseSchema>;
export declare const DirectSessionTakeoverRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    sessionId: z.ZodString;
    forceStop: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export type DirectSessionTakeoverRequest = z.infer<typeof DirectSessionTakeoverRequestSchema>;
export declare const DirectSessionTakeoverResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectSessionTakeoverResponse = z.infer<typeof DirectSessionTakeoverResponseSchema>;
export declare const DirectSessionTakeoverPersistRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    sessionId: z.ZodString;
    forceStop: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>;
export type DirectSessionTakeoverPersistRequest = z.infer<typeof DirectSessionTakeoverPersistRequestSchema>;
export declare const DirectSessionTakeoverPersistResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    converted: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        machine_offline: "machine_offline";
        provider_unavailable: "provider_unavailable";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DirectSessionTakeoverPersistResponse = z.infer<typeof DirectSessionTakeoverPersistResponseSchema>;
//# sourceMappingURL=daemonRpcV1.d.ts.map