import { z } from 'zod';
export declare const connected_account_connected_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.connected">;
    connect_webview_id: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
export declare const connected_account_created_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.created">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
/** @deprecated */
export declare const connected_account_successful_login_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.successful_login">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
/** @deprecated Rely on ConnectWebviewLoginSucceededEvent instead */
export type ConnectedAccountSuccessfulLoginEvent = z.infer<typeof connected_account_successful_login_event>;
export declare const connected_account_disconnected_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.disconnected">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
export declare const connected_account_completed_first_sync_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
export declare const connected_account_deleted_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.deleted">;
    connected_account_type: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}>;
export type ConnectedAccountDeletedEvent = z.infer<typeof connected_account_deleted_event>;
export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
export declare const connected_account_reauthorization_requested_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountReauthorizationRequestedEvent = z.infer<typeof connected_account_reauthorization_requested_event>;
export declare const connected_account_events: readonly [z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.connected">;
    connect_webview_id: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.created">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.successful_login">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.disconnected">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.deleted">;
    connected_account_type: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>];
