import { z } from 'zod';
import type { ManagedSessionMcpAvailabilityV1, ManagedSessionMcpPortabilityV1, ManagedSessionMcpReasonCodeV1 } from './resolveManagedSessionMcpSelectionV1.js';
export declare const McpPreviewAuthModeV1Schema: z.ZodEnum<{
    unknown: "unknown";
    none: "none";
    savedSecret: "savedSecret";
    machineEnv: "machineEnv";
    plainText: "plainText";
}>;
export type McpPreviewAuthModeV1 = z.infer<typeof McpPreviewAuthModeV1Schema>;
export declare const McpPreviewSourceKindV1Schema: z.ZodEnum<{
    builtIn: "builtIn";
    managed: "managed";
    detected: "detected";
}>;
export type McpPreviewSourceKindV1 = z.infer<typeof McpPreviewSourceKindV1Schema>;
export declare const McpPreviewScopeKindV1Schema: z.ZodEnum<{
    machine: "machine";
    allMachines: "allMachines";
    workspace: "workspace";
    builtIn: "builtIn";
    providerUser: "providerUser";
    providerProject: "providerProject";
}>;
export type McpPreviewScopeKindV1 = z.infer<typeof McpPreviewScopeKindV1Schema>;
export declare const McpPreviewEntryAvailabilityV1Schema: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
export type McpPreviewEntryAvailabilityV1 = z.infer<typeof McpPreviewEntryAvailabilityV1Schema>;
export declare const ManagedSessionMcpAvailabilityV1Schema: z.ZodCustom<ManagedSessionMcpAvailabilityV1, ManagedSessionMcpAvailabilityV1>;
export declare const ManagedSessionMcpReasonCodeV1Schema: z.ZodCustom<ManagedSessionMcpReasonCodeV1, ManagedSessionMcpReasonCodeV1>;
export declare const ManagedSessionMcpPortabilityV1Schema: z.ZodCustom<ManagedSessionMcpPortabilityV1, ManagedSessionMcpPortabilityV1>;
export declare const ManagedMcpPreviewEntryV1Schema: z.ZodObject<{
    key: z.ZodString;
    name: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    transport: z.ZodEnum<{
        http: "http";
        stdio: "stdio";
        sse: "sse";
    }>;
    authMode: z.ZodEnum<{
        unknown: "unknown";
        none: "none";
        savedSecret: "savedSecret";
        machineEnv: "machineEnv";
        plainText: "plainText";
    }>;
    selected: z.ZodBoolean;
    selectable: z.ZodBoolean;
    availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
    serverId: z.ZodString;
    sourceKind: z.ZodLiteral<"managed">;
    scopeKind: z.ZodUnion<readonly [z.ZodLiteral<"allMachines">, z.ZodLiteral<"machine">, z.ZodLiteral<"workspace">]>;
    reasonCode: z.ZodCustom<ManagedSessionMcpReasonCodeV1, ManagedSessionMcpReasonCodeV1>;
    portability: z.ZodCustom<ManagedSessionMcpPortabilityV1, ManagedSessionMcpPortabilityV1>;
    defaultSelected: z.ZodBoolean;
}, z.core.$strip>;
export type ManagedMcpPreviewEntryV1 = z.infer<typeof ManagedMcpPreviewEntryV1Schema>;
export declare const BuiltInMcpPreviewEntryV1Schema: z.ZodObject<{
    key: z.ZodString;
    name: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    transport: z.ZodEnum<{
        http: "http";
        stdio: "stdio";
        sse: "sse";
    }>;
    authMode: z.ZodEnum<{
        unknown: "unknown";
        none: "none";
        savedSecret: "savedSecret";
        machineEnv: "machineEnv";
        plainText: "plainText";
    }>;
    selected: z.ZodBoolean;
    selectable: z.ZodBoolean;
    availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
    sourceKind: z.ZodLiteral<"builtIn">;
    scopeKind: z.ZodLiteral<"builtIn">;
}, z.core.$strip>;
export type BuiltInMcpPreviewEntryV1 = z.infer<typeof BuiltInMcpPreviewEntryV1Schema>;
export declare const DetectedMcpPreviewEntryV1Schema: z.ZodObject<{
    key: z.ZodString;
    name: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    transport: z.ZodEnum<{
        http: "http";
        stdio: "stdio";
        sse: "sse";
    }>;
    authMode: z.ZodEnum<{
        unknown: "unknown";
        none: "none";
        savedSecret: "savedSecret";
        machineEnv: "machineEnv";
        plainText: "plainText";
    }>;
    selected: z.ZodBoolean;
    selectable: z.ZodBoolean;
    availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
    sourceKind: z.ZodLiteral<"detected">;
    scopeKind: z.ZodUnion<readonly [z.ZodLiteral<"providerUser">, z.ZodLiteral<"providerProject">]>;
    provider: z.ZodEnum<{
        codex: "codex";
        opencode: "opencode";
        claude: "claude";
    }>;
    enabled: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>;
    envKeyCount: z.ZodNumber;
    headerKeyCount: z.ZodNumber;
    sourcePath: z.ZodString;
}, z.core.$strip>;
export type DetectedMcpPreviewEntryV1 = z.infer<typeof DetectedMcpPreviewEntryV1Schema>;
export declare const DaemonMcpServersPreviewRequestSchema: z.ZodObject<{
    machineId: z.ZodString;
    directory: z.ZodString;
    agentId: z.ZodString;
    selection: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<object, unknown>, z.ZodObject<{
        v: z.ZodDefault<z.ZodLiteral<1>>;
        managedServersEnabled: z.ZodDefault<z.ZodBoolean>;
        forceIncludeServerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
        forceExcludeServerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
    }, z.core.$strip>>, z.ZodTransform<{
        forceIncludeServerIds: string[];
        forceExcludeServerIds: string[];
        v: 1;
        managedServersEnabled: boolean;
    }, {
        v: 1;
        managedServersEnabled: boolean;
        forceIncludeServerIds: string[];
        forceExcludeServerIds: string[];
    }>>>;
}, z.core.$loose>;
export type DaemonMcpServersPreviewRequest = z.infer<typeof DaemonMcpServersPreviewRequestSchema>;
export declare const DaemonMcpServersPreviewResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    builtIn: z.ZodArray<z.ZodObject<{
        key: z.ZodString;
        name: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        transport: z.ZodEnum<{
            http: "http";
            stdio: "stdio";
            sse: "sse";
        }>;
        authMode: z.ZodEnum<{
            unknown: "unknown";
            none: "none";
            savedSecret: "savedSecret";
            machineEnv: "machineEnv";
            plainText: "plainText";
        }>;
        selected: z.ZodBoolean;
        selectable: z.ZodBoolean;
        availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
        sourceKind: z.ZodLiteral<"builtIn">;
        scopeKind: z.ZodLiteral<"builtIn">;
    }, z.core.$strip>>;
    managed: z.ZodArray<z.ZodObject<{
        key: z.ZodString;
        name: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        transport: z.ZodEnum<{
            http: "http";
            stdio: "stdio";
            sse: "sse";
        }>;
        authMode: z.ZodEnum<{
            unknown: "unknown";
            none: "none";
            savedSecret: "savedSecret";
            machineEnv: "machineEnv";
            plainText: "plainText";
        }>;
        selected: z.ZodBoolean;
        selectable: z.ZodBoolean;
        availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
        serverId: z.ZodString;
        sourceKind: z.ZodLiteral<"managed">;
        scopeKind: z.ZodUnion<readonly [z.ZodLiteral<"allMachines">, z.ZodLiteral<"machine">, z.ZodLiteral<"workspace">]>;
        reasonCode: z.ZodCustom<ManagedSessionMcpReasonCodeV1, ManagedSessionMcpReasonCodeV1>;
        portability: z.ZodCustom<ManagedSessionMcpPortabilityV1, ManagedSessionMcpPortabilityV1>;
        defaultSelected: z.ZodBoolean;
    }, z.core.$strip>>;
    detected: z.ZodArray<z.ZodObject<{
        key: z.ZodString;
        name: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        transport: z.ZodEnum<{
            http: "http";
            stdio: "stdio";
            sse: "sse";
        }>;
        authMode: z.ZodEnum<{
            unknown: "unknown";
            none: "none";
            savedSecret: "savedSecret";
            machineEnv: "machineEnv";
            plainText: "plainText";
        }>;
        selected: z.ZodBoolean;
        selectable: z.ZodBoolean;
        availability: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"available">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"readOnly">]>;
        sourceKind: z.ZodLiteral<"detected">;
        scopeKind: z.ZodUnion<readonly [z.ZodLiteral<"providerUser">, z.ZodLiteral<"providerProject">]>;
        provider: z.ZodEnum<{
            codex: "codex";
            opencode: "opencode";
            claude: "claude";
        }>;
        enabled: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>;
        envKeyCount: z.ZodNumber;
        headerKeyCount: z.ZodNumber;
        sourcePath: z.ZodString;
    }, z.core.$strip>>;
    warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type DaemonMcpServersPreviewResponse = z.infer<typeof DaemonMcpServersPreviewResponseSchema>;
//# sourceMappingURL=previewV1.d.ts.map