import { z } from "zod";
/** User-level OAuth / BYOK connections (Settings → Connected accounts). */
export declare const ConnectedAccountProvider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom", "openai"]>;
export type ConnectedAccountProvider = z.infer<typeof ConnectedAccountProvider>;
export declare const OAuthAccountProvider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom"]>;
export type OAuthAccountProvider = z.infer<typeof OAuthAccountProvider>;
export declare const RewriteTone: z.ZodEnum<["professional", "friendly", "concise", "formal", "casual"]>;
export type RewriteTone = z.infer<typeof RewriteTone>;
export declare const RewriteMode: z.ZodEnum<["rewrite", "proofread"]>;
export type RewriteMode = z.infer<typeof RewriteMode>;
export declare const ConnectedAccountStatus: z.ZodObject<{
    provider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom", "openai"]>;
    connected: z.ZodBoolean;
    accountEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    accountLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    secretLast4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    /** False when the server lacks client id/secret for this OAuth provider. */
    configured: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    configured: boolean;
    provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
    connected: boolean;
    accountEmail?: string | null | undefined;
    accountLabel?: string | null | undefined;
    secretLast4?: string | null | undefined;
}, {
    configured: boolean;
    provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
    connected: boolean;
    accountEmail?: string | null | undefined;
    accountLabel?: string | null | undefined;
    secretLast4?: string | null | undefined;
}>;
export type ConnectedAccountStatus = z.infer<typeof ConnectedAccountStatus>;
export declare const ListConnectedAccountsResponse: z.ZodObject<{
    integrations: z.ZodArray<z.ZodObject<{
        provider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom", "openai"]>;
        connected: z.ZodBoolean;
        accountEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        accountLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        secretLast4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        /** False when the server lacks client id/secret for this OAuth provider. */
        configured: z.ZodBoolean;
    }, "strip", z.ZodTypeAny, {
        configured: boolean;
        provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
        connected: boolean;
        accountEmail?: string | null | undefined;
        accountLabel?: string | null | undefined;
        secretLast4?: string | null | undefined;
    }, {
        configured: boolean;
        provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
        connected: boolean;
        accountEmail?: string | null | undefined;
        accountLabel?: string | null | undefined;
        secretLast4?: string | null | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    integrations: {
        configured: boolean;
        provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
        connected: boolean;
        accountEmail?: string | null | undefined;
        accountLabel?: string | null | undefined;
        secretLast4?: string | null | undefined;
    }[];
}, {
    integrations: {
        configured: boolean;
        provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
        connected: boolean;
        accountEmail?: string | null | undefined;
        accountLabel?: string | null | undefined;
        secretLast4?: string | null | undefined;
    }[];
}>;
export declare const SaveOpenAiKeyRequest: z.ZodObject<{
    apiKey: z.ZodString;
}, "strip", z.ZodTypeAny, {
    apiKey: string;
}, {
    apiKey: string;
}>;
export declare const RewriteMessageRequest: z.ZodObject<{
    text: z.ZodString;
    tone: z.ZodDefault<z.ZodEnum<["professional", "friendly", "concise", "formal", "casual"]>>;
    mode: z.ZodDefault<z.ZodEnum<["rewrite", "proofread"]>>;
}, "strip", z.ZodTypeAny, {
    text: string;
    mode: "rewrite" | "proofread";
    tone: "professional" | "friendly" | "concise" | "formal" | "casual";
}, {
    text: string;
    mode?: "rewrite" | "proofread" | undefined;
    tone?: "professional" | "friendly" | "concise" | "formal" | "casual" | undefined;
}>;
export type RewriteMessageRequest = z.infer<typeof RewriteMessageRequest>;
export declare const RewriteMessageResponse: z.ZodObject<{
    text: z.ZodString;
}, "strip", z.ZodTypeAny, {
    text: string;
}, {
    text: string;
}>;
export declare const StartOAuthRequest: z.ZodObject<{
    provider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom"]>;
    /** Where to send the browser after OAuth completes (relative path OK). */
    returnTo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    provider: "zoom" | "google_calendar" | "outlook_calendar";
    returnTo?: string | undefined;
}, {
    provider: "zoom" | "google_calendar" | "outlook_calendar";
    returnTo?: string | undefined;
}>;
export declare const StartOAuthResponse: z.ZodObject<{
    url: z.ZodString;
}, "strip", z.ZodTypeAny, {
    url: string;
}, {
    url: string;
}>;
export declare const ExternalCalendarEvent: z.ZodObject<{
    id: z.ZodString;
    provider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom"]>;
    title: z.ZodString;
    startsAt: z.ZodString;
    endsAt: z.ZodString;
    allDay: z.ZodBoolean;
    location: z.ZodNullable<z.ZodString>;
    htmlLink: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    title: string;
    id: string;
    location: string | null;
    startsAt: string;
    endsAt: string;
    allDay: boolean;
    provider: "zoom" | "google_calendar" | "outlook_calendar";
    htmlLink: string | null;
}, {
    title: string;
    id: string;
    location: string | null;
    startsAt: string;
    endsAt: string;
    allDay: boolean;
    provider: "zoom" | "google_calendar" | "outlook_calendar";
    htmlLink: string | null;
}>;
export type ExternalCalendarEvent = z.infer<typeof ExternalCalendarEvent>;
export declare const ListExternalEventsQuery: z.ZodObject<{
    from: z.ZodString;
    to: z.ZodString;
}, "strip", z.ZodTypeAny, {
    from: string;
    to: string;
}, {
    from: string;
    to: string;
}>;
export declare const CreateZoomMeetingRequest: z.ZodObject<{
    topic: z.ZodString;
    startsAt: z.ZodString;
    durationMinutes: z.ZodDefault<z.ZodNumber>;
    timezone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    topic: string;
    startsAt: string;
    durationMinutes: number;
    timezone?: string | undefined;
}, {
    topic: string;
    startsAt: string;
    timezone?: string | undefined;
    durationMinutes?: number | undefined;
}>;
export type CreateZoomMeetingRequest = z.infer<typeof CreateZoomMeetingRequest>;
export declare const CreateZoomMeetingResponse: z.ZodObject<{
    joinUrl: z.ZodString;
    meetingId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
    startUrl: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    joinUrl: string;
    meetingId: string | number;
    startUrl?: string | undefined;
}, {
    joinUrl: string;
    meetingId: string | number;
    startUrl?: string | undefined;
}>;
export declare const DisconnectConnectedAccountRequest: z.ZodObject<{
    provider: z.ZodEnum<["google_calendar", "outlook_calendar", "zoom", "openai"]>;
}, "strip", z.ZodTypeAny, {
    provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
}, {
    provider: "zoom" | "google_calendar" | "outlook_calendar" | "openai";
}>;
//# sourceMappingURL=integrations-http.d.ts.map