import { z } from 'zod'; export declare const DUPLEX_MESSAGE_SCHEMA: z.ZodDiscriminatedUnion<"kind", z.Primitive, z.ZodObject<{ id: z.ZodString; kind: z.ZodLiteral<"CALL">; methodName: z.ZodString; data: z.ZodAny; }, "strip", z.ZodTypeAny, { data?: any; methodName: string; id: string; kind: "CALL"; }, { data?: any; methodName: string; id: string; kind: "CALL"; }> | z.ZodObject<{ id: z.ZodString; kind: z.ZodLiteral<"RESPONSE">; methodName: z.ZodString; data: z.ZodAny; }, "strip", z.ZodTypeAny, { data?: any; methodName: string; id: string; kind: "RESPONSE"; }, { data?: any; methodName: string; id: string; kind: "RESPONSE"; }>>; export declare type DuplexMessage = z.infer; export declare const TRANSACTION_RESULT_SCHEMA_VERSION = 1; export declare const actionMode: z.ZodEnum<["live", "console"]>; export declare const actionEnvironment: z.ZodUnion<[z.ZodEnum<["production", "development"]>, z.ZodString]>; export declare type ActionEnvironment = z.infer; export declare const LOADING_OPTIONS: z.ZodObject<{ label: z.ZodOptional; description: z.ZodOptional; itemsInQueue: z.ZodOptional; }, "strip", z.ZodTypeAny, { label?: string | undefined; description?: string | undefined; itemsInQueue?: number | undefined; }, { label?: string | undefined; description?: string | undefined; itemsInQueue?: number | undefined; }>; declare const LOADING_STATE: z.ZodObject<{ label: z.ZodOptional; description: z.ZodOptional; itemsInQueue: z.ZodOptional; itemsCompleted: z.ZodOptional; }, "strip", z.ZodTypeAny, { label?: string | undefined; description?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }, { label?: string | undefined; description?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }>; declare const BACKWARD_COMPATIBLE_LOADING_STATE: z.ZodObject; description: z.ZodOptional; itemsInQueue: z.ZodOptional; itemsCompleted: z.ZodOptional; }, { /** @deprecated in favor of `label` (for real this time) */ title: z.ZodOptional; }>, "strip", z.ZodTypeAny, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }>; declare const SDK_ALERT: z.ZodObject<{ minSdkVersion: z.ZodString; severity: z.ZodEnum<["INFO", "WARNING", "ERROR"]>; message: z.ZodNullable>; }, "strip", z.ZodTypeAny, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }>; export declare type SdkAlert = z.infer; export declare type LoadingOptions = z.input; export declare type BackwardCompatibleLoadingOptions = LoadingOptions & { /** @deprecated Please use `label` instead. */ title?: string; }; export declare type LoadingState = z.input; export declare type BackwardCompatibleLoadingState = z.input; export declare const CTX_USER_ROLE: z.ZodEnum<["admin", "developer", "member"]>; export declare type CtxUserRole = z.input; export declare const ACCESS_CONTROL_DEFINITION: z.ZodUnion<[z.ZodLiteral<"entire-organization">, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>; export declare type AccessControlDefinition = z.infer; export declare const ACTION_DEFINITION: z.ZodObject<{ groupSlug: z.ZodOptional; slug: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; backgroundable: z.ZodOptional; unlisted: z.ZodOptional; warnOnClose: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }>; export declare type ActionDefinition = z.infer; export declare const PAGE_DEFINITION: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodOptional; hasHandler: z.ZodOptional; hasIndex: z.ZodOptional; unlisted: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }>; export declare type PageDefinition = z.infer; export declare const ICE_SERVER: z.ZodObject<{ url: z.ZodString; urls: z.ZodString; hostname: z.ZodString; port: z.ZodNumber; relayType: z.ZodOptional>; username: z.ZodOptional; credential: z.ZodOptional; password: z.ZodOptional; }, "strip", z.ZodTypeAny, { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }, { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }>; export declare type IceServer = z.infer; export declare const ICE_CONFIG: z.ZodObject<{ iceServers: z.ZodArray>; username: z.ZodOptional; credential: z.ZodOptional; password: z.ZodOptional; }, "strip", z.ZodTypeAny, { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }, { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }>, "many">; }, "strip", z.ZodTypeAny, { iceServers: { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }[]; }, { iceServers: { relayType?: "TurnUdp" | "TurnTcp" | "TurnTls" | undefined; username?: string | undefined; credential?: string | undefined; password?: string | undefined; url: string; urls: string; hostname: string; port: number; }[]; }>; export declare type IceConfig = z.infer; export declare const ENQUEUE_ACTION: { inputs: z.ZodObject<{ slug: z.ZodString; assignee: z.ZodNullable>; params: z.ZodNullable>>>; paramsMeta: z.ZodOptional; }, "strip", z.ZodTypeAny, { params?: Record | null | undefined; assignee?: string | null | undefined; paramsMeta?: any; slug: string; }, { params?: Record | null | undefined; assignee?: string | null | undefined; paramsMeta?: any; slug: string; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"success">; id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "success"; id: string; }, { type: "success"; id: string; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: "error"; }, { message: string; type: "error"; }>>; }; export declare const CREATE_GHOST_MODE_ACCOUNT: { inputs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; returns: z.ZodObject<{ ghostOrgId: z.ZodString; }, "strip", z.ZodTypeAny, { ghostOrgId: string; }, { ghostOrgId: string; }>; }; export declare const DEQUEUE_ACTION: { inputs: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"success">; id: z.ZodString; assignee: z.ZodOptional; params: z.ZodOptional>>; paramsMeta: z.ZodOptional; }, "strip", z.ZodTypeAny, { params?: Record | undefined; assignee?: string | undefined; paramsMeta?: any; type: "success"; id: string; }, { params?: Record | undefined; assignee?: string | undefined; paramsMeta?: any; type: "success"; id: string; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: "error"; }, { message: string; type: "error"; }>>; }; export declare const NOTIFY: { inputs: z.ZodObject<{ transactionId: z.ZodOptional; message: z.ZodString; title: z.ZodOptional; deliveryInstructions: z.ZodArray>; }, "strip", z.ZodTypeAny, { method?: "EMAIL" | "SLACK" | undefined; to: string; }, { method?: "EMAIL" | "SLACK" | undefined; to: string; }>, "many">; createdAt: z.ZodString; idempotencyKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { transactionId?: string | undefined; title?: string | undefined; idempotencyKey?: string | undefined; message: string; deliveryInstructions: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[]; createdAt: string; }, { transactionId?: string | undefined; title?: string | undefined; idempotencyKey?: string | undefined; message: string; deliveryInstructions: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[]; createdAt: string; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"success">; }, "strip", z.ZodTypeAny, { type: "success"; }, { type: "success"; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: "error"; }, { message: string; type: "error"; }>>; }; export declare const DECLARE_HOST: { inputs: z.ZodObject<{ httpHostId: z.ZodString; actions: z.ZodArray; slug: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; backgroundable: z.ZodOptional; unlisted: z.ZodOptional; warnOnClose: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }>, "many">; groups: z.ZodOptional; hasHandler: z.ZodOptional; hasIndex: z.ZodOptional; unlisted: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }>, "many">>; sdkName: z.ZodString; sdkVersion: z.ZodString; }, "strip", z.ZodTypeAny, { groups?: { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }[] | undefined; httpHostId: string; actions: { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }[]; sdkName: string; sdkVersion: string; }, { groups?: { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }[] | undefined; httpHostId: string; actions: { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }[]; sdkName: string; sdkVersion: string; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"success">; invalidSlugs: z.ZodArray; sdkAlert: z.ZodNullable; message: z.ZodNullable>; }, "strip", z.ZodTypeAny, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }>>>; warnings: z.ZodArray; }, "strip", z.ZodTypeAny, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; type: "success"; invalidSlugs: string[]; warnings: string[]; }, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; type: "success"; invalidSlugs: string[]; warnings: string[]; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; sdkAlert: z.ZodNullable; message: z.ZodNullable>; }, "strip", z.ZodTypeAny, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }>>>; }, "strip", z.ZodTypeAny, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; message: string; type: "error"; }, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; message: string; type: "error"; }>>; }; export declare const wsServerSchema: { CONNECT_TO_TRANSACTION_AS_CLIENT: { inputs: z.ZodObject<{ transactionId: z.ZodString; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; transactionId: string; }, { params?: Record | undefined; transactionId: string; }>; returns: z.ZodBoolean; }; __TEST_ONLY_REQUEST_DROP_CONNECTION: { inputs: z.ZodVoid; returns: z.ZodBoolean; }; LEAVE_TRANSACTION: { inputs: z.ZodObject<{ transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; }, { transactionId: string; }>; returns: z.ZodBoolean; }; REQUEST_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; pageSlug: z.ZodString; actionMode: z.ZodEnum<["live", "console"]>; organizationEnvironmentId: z.ZodString; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; pageKey: string; pageSlug: string; actionMode: "live" | "console"; organizationEnvironmentId: string; }, { params?: Record | undefined; pageKey: string; pageSlug: string; actionMode: "live" | "console"; organizationEnvironmentId: string; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"SUCCESS">; pageKey: z.ZodString; }, "strip", z.ZodTypeAny, { type: "SUCCESS"; pageKey: string; }, { type: "SUCCESS"; pageKey: string; }> | z.ZodObject<{ type: z.ZodLiteral<"ERROR">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { message?: string | undefined; type: "ERROR"; }, { message?: string | undefined; type: "ERROR"; }>>; }; LEAVE_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; }, "strip", z.ZodTypeAny, { pageKey: string; }, { pageKey: string; }>; returns: z.ZodBoolean; }; RESPOND_TO_IO_CALL: { inputs: z.ZodObject<{ transactionId: z.ZodString; ioResponse: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; ioResponse: string; }, { transactionId: string; ioResponse: string; }>; returns: z.ZodBoolean; }; SEND_IO_CALL: { inputs: z.ZodObject<{ transactionId: z.ZodString; ioCall: z.ZodString; skipClientCall: z.ZodOptional; }, "strip", z.ZodTypeAny, { skipClientCall?: boolean | undefined; transactionId: string; ioCall: string; }, { skipClientCall?: boolean | undefined; transactionId: string; ioCall: string; }>; returns: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{ type: z.ZodLiteral<"ERROR">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { message?: string | undefined; type: "ERROR"; }, { message?: string | undefined; type: "ERROR"; }>]>; }; SEND_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; page: z.ZodNullable>; }, "strip", z.ZodTypeAny, { page?: string | null | undefined; pageKey: string; }, { page?: string | null | undefined; pageKey: string; }>; returns: z.ZodBoolean; }; SEND_LOADING_CALL: { inputs: z.ZodIntersection; description: z.ZodOptional; itemsInQueue: z.ZodOptional; itemsCompleted: z.ZodOptional; }, { /** @deprecated in favor of `label` (for real this time) */ title: z.ZodOptional; }>, "strip", z.ZodTypeAny, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; }>, z.ZodObject<{ transactionId: z.ZodString; skipClientCall: z.ZodOptional; }, "strip", z.ZodTypeAny, { skipClientCall?: boolean | undefined; transactionId: string; }, { skipClientCall?: boolean | undefined; transactionId: string; }>>; returns: z.ZodBoolean; }; SEND_LOG: { inputs: z.ZodObject<{ transactionId: z.ZodString; data: z.ZodString; index: z.ZodOptional; timestamp: z.ZodOptional; skipClientCall: z.ZodOptional; }, "strip", z.ZodTypeAny, { skipClientCall?: boolean | undefined; index?: number | undefined; timestamp?: number | undefined; data: string; transactionId: string; }, { skipClientCall?: boolean | undefined; index?: number | undefined; timestamp?: number | undefined; data: string; transactionId: string; }>; returns: z.ZodBoolean; }; NOTIFY: { inputs: z.ZodObject<{ transactionId: z.ZodString; message: z.ZodString; title: z.ZodOptional; idempotencyKey: z.ZodOptional; deliveryInstructions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { method?: "EMAIL" | "SLACK" | undefined; to: string; }, { method?: "EMAIL" | "SLACK" | undefined; to: string; }>, "many">>; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { title?: string | undefined; deliveryInstructions?: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[] | undefined; idempotencyKey?: string | undefined; message: string; transactionId: string; createdAt: string; }, { title?: string | undefined; deliveryInstructions?: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[] | undefined; idempotencyKey?: string | undefined; message: string; transactionId: string; createdAt: string; }>; returns: z.ZodBoolean; }; SEND_REDIRECT: { inputs: z.ZodIntersection; replace: z.ZodOptional; }, "strip", z.ZodTypeAny, { replace?: boolean | undefined; skipClientCall?: boolean | undefined; transactionId: string; }, { replace?: boolean | undefined; skipClientCall?: boolean | undefined; transactionId: string; }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>, z.ZodObject<{ route: z.ZodString; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; route: string; }, { params?: Record | undefined; route: string; }>]>, z.ZodObject<{ action: z.ZodString; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; action: string; }, { params?: Record | undefined; action: string; }>]>>; returns: z.ZodBoolean; }; MARK_TRANSACTION_COMPLETE: { inputs: z.ZodObject<{ transactionId: z.ZodString; resultStatus: z.ZodOptional>; result: z.ZodOptional; skipClientCall: z.ZodOptional; }, "strip", z.ZodTypeAny, { skipClientCall?: boolean | undefined; resultStatus?: "CANCELED" | "SUCCESS" | "FAILURE" | "REDIRECTED" | undefined; result?: string | undefined; transactionId: string; }, { skipClientCall?: boolean | undefined; resultStatus?: "CANCELED" | "SUCCESS" | "FAILURE" | "REDIRECTED" | undefined; result?: string | undefined; transactionId: string; }>; returns: z.ZodBoolean; }; INITIALIZE_CLIENT: { inputs: z.ZodUndefined; returns: z.ZodBoolean; }; INITIALIZE_HOST: { inputs: z.ZodIntersection; sdkVersion: z.ZodOptional; requestId: z.ZodOptional; timestamp: z.ZodOptional; }, "strip", z.ZodTypeAny, { sdkName?: string | undefined; sdkVersion?: string | undefined; timestamp?: number | undefined; requestId?: string | undefined; }, { sdkName?: string | undefined; sdkVersion?: string | undefined; timestamp?: number | undefined; requestId?: string | undefined; }>, z.ZodUnion<[z.ZodObject<{ callableActionNames: z.ZodArray; }, "strip", z.ZodTypeAny, { callableActionNames: string[]; }, { callableActionNames: string[]; }>, z.ZodObject<{ actions: z.ZodArray; slug: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; backgroundable: z.ZodOptional; unlisted: z.ZodOptional; warnOnClose: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }, { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }>, "many">; groups: z.ZodOptional; hasHandler: z.ZodOptional; hasIndex: z.ZodOptional; unlisted: z.ZodOptional; access: z.ZodOptional, z.ZodObject<{ teams: z.ZodOptional>; }, "strip", z.ZodTypeAny, { teams?: string[] | undefined; }, { teams?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }, { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }>, "many">>; }, "strip", z.ZodTypeAny, { groups?: { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }[] | undefined; actions: { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }[]; }, { groups?: { description?: string | undefined; unlisted?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; hasHandler?: boolean | undefined; hasIndex?: boolean | undefined; name: string; slug: string; }[] | undefined; actions: { description?: string | undefined; name?: string | undefined; groupSlug?: string | undefined; backgroundable?: boolean | undefined; unlisted?: boolean | undefined; warnOnClose?: boolean | undefined; access?: "entire-organization" | { teams?: string[] | undefined; } | undefined; slug: string; }[]; }>]>>; returns: z.ZodNullable; environment: z.ZodUnion<[z.ZodEnum<["production", "development"]>, z.ZodString]>; invalidSlugs: z.ZodArray; organization: z.ZodObject<{ name: z.ZodString; slug: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; slug: string; }, { name: string; slug: string; }>; dashboardUrl: z.ZodString; forcePeerMessages: z.ZodOptional; sdkAlert: z.ZodNullable; message: z.ZodNullable>; }, "strip", z.ZodTypeAny, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }>>>; warnings: z.ZodArray; }, "strip", z.ZodTypeAny, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; forcePeerMessages?: boolean | undefined; type: "success"; invalidSlugs: string[]; warnings: string[]; environment: string; organization: { name: string; slug: string; }; dashboardUrl: string; }, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; forcePeerMessages?: boolean | undefined; type: "success"; invalidSlugs: string[]; warnings: string[]; environment: string; organization: { name: string; slug: string; }; dashboardUrl: string; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodString; sdkAlert: z.ZodNullable; message: z.ZodNullable>; }, "strip", z.ZodTypeAny, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }, { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; }>>>; }, "strip", z.ZodTypeAny, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; message: string; type: "error"; }, { sdkAlert?: { message?: string | null | undefined; minSdkVersion: string; severity: "INFO" | "WARNING" | "ERROR"; } | null | undefined; message: string; type: "error"; }>>>; }; BEGIN_HOST_SHUTDOWN: { inputs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"success">; }, "strip", z.ZodTypeAny, { type: "success"; }, { type: "success"; }> | z.ZodObject<{ type: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { message?: string | undefined; type: "error"; }, { message?: string | undefined; type: "error"; }>>; }; }; export declare type WSServerSchema = typeof wsServerSchema; export declare const clientSchema: { CLIENT_USURPED: { inputs: z.ZodObject<{ transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; }, { transactionId: string; }>; returns: z.ZodNullable; }; TRANSACTION_COMPLETED: { inputs: z.ZodObject<{ transactionId: z.ZodString; resultStatus: z.ZodEnum<["SUCCESS", "FAILURE", "CANCELED", "REDIRECTED"]>; result: z.ZodOptional; }, "strip", z.ZodTypeAny, { result?: string | undefined; transactionId: string; resultStatus: "CANCELED" | "SUCCESS" | "FAILURE" | "REDIRECTED"; }, { result?: string | undefined; transactionId: string; resultStatus: "CANCELED" | "SUCCESS" | "FAILURE" | "REDIRECTED"; }>; returns: z.ZodNullable; }; HOST_CLOSED_UNEXPECTEDLY: { inputs: z.ZodObject<{ transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; }, { transactionId: string; }>; returns: z.ZodNullable; }; HOST_RECONNECTED: { inputs: z.ZodObject<{ transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; }, { transactionId: string; }>; returns: z.ZodNullable; }; RENDER_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; page: z.ZodNullable>; hostInstanceId: z.ZodString; }, "strip", z.ZodTypeAny, { page?: string | null | undefined; pageKey: string; hostInstanceId: string; }, { page?: string | null | undefined; pageKey: string; hostInstanceId: string; }>; returns: z.ZodBoolean; }; RENDER: { inputs: z.ZodObject<{ transactionId: z.ZodString; toRender: z.ZodString; }, "strip", z.ZodTypeAny, { toRender: string; transactionId: string; }, { toRender: string; transactionId: string; }>; returns: z.ZodBoolean; }; LOADING_STATE: { inputs: z.ZodObject; description: z.ZodOptional; itemsInQueue: z.ZodOptional; itemsCompleted: z.ZodOptional; }, { /** @deprecated in favor of `label` (for real this time) */ title: z.ZodOptional; }>>, "strip", z.ZodTypeAny, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; transactionId: string; }, { label?: string | undefined; description?: string | undefined; title?: string | undefined; itemsInQueue?: number | undefined; itemsCompleted?: number | undefined; transactionId: string; }>; returns: z.ZodBoolean; }; LOG: { inputs: z.ZodObject<{ transactionId: z.ZodString; data: z.ZodNullable; index: z.ZodNumber; timestamp: z.ZodNumber; }, "strip", z.ZodTypeAny, { data: string | null; transactionId: string; index: number; timestamp: number; }, { data: string | null; transactionId: string; index: number; timestamp: number; }>; returns: z.ZodBoolean; }; NOTIFY: { inputs: z.ZodObject<{ transactionId: z.ZodString; deliveries: z.ZodArray>; }, "strip", z.ZodTypeAny, { method?: "EMAIL" | "SLACK" | undefined; to: string; }, { method?: "EMAIL" | "SLACK" | undefined; to: string; }>, "many">; message: z.ZodString; title: z.ZodOptional; idempotencyKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; idempotencyKey?: string | undefined; message: string; transactionId: string; deliveries: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[]; }, { title?: string | undefined; idempotencyKey?: string | undefined; message: string; transactionId: string; deliveries: { method?: "EMAIL" | "SLACK" | undefined; to: string; }[]; }>; returns: z.ZodBoolean; }; REDIRECT: { inputs: z.ZodIntersection; }, "strip", z.ZodTypeAny, { replace?: boolean | undefined; transactionId: string; }, { replace?: boolean | undefined; transactionId: string; }>, z.ZodUnion<[z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>, z.ZodObject<{ route: z.ZodString; params: z.ZodOptional, z.ZodDate]>, z.ZodBigInt]>>>; }, "strip", z.ZodTypeAny, { params?: Record | undefined; route: string; }, { params?: Record | undefined; route: string; }>]>>; returns: z.ZodBoolean; }; }; export declare type ClientSchema = typeof clientSchema; export declare const startTransactionUser: z.ZodObject<{ email: z.ZodString; firstName: z.ZodNullable; lastName: z.ZodNullable; role: z.ZodEnum<["admin", "developer", "member"]>; teams: z.ZodArray; }, "strip", z.ZodTypeAny, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }>; export declare type StartTransactionUser = z.input; export declare const hostSchema: { OPEN_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; page: z.ZodObject<{ slug: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; }, { slug: string; }>; environment: z.ZodUnion<[z.ZodEnum<["production", "development"]>, z.ZodString]>; user: z.ZodObject<{ email: z.ZodString; firstName: z.ZodNullable; lastName: z.ZodNullable; role: z.ZodEnum<["admin", "developer", "member"]>; teams: z.ZodArray; }, "strip", z.ZodTypeAny, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }>; params: z.ZodRecord, z.ZodDate]>, z.ZodBigInt]>>; paramsMeta: z.ZodOptional; }, "strip", z.ZodTypeAny, { paramsMeta?: any; params: Record; pageKey: string; page: { slug: string; }; environment: string; user: { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }; }, { paramsMeta?: any; params: Record; pageKey: string; page: { slug: string; }; environment: string; user: { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }; }>; returns: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<{ type: z.ZodLiteral<"SUCCESS">; pageKey: z.ZodString; }, "strip", z.ZodTypeAny, { type: "SUCCESS"; pageKey: string; }, { type: "SUCCESS"; pageKey: string; }> | z.ZodObject<{ type: z.ZodLiteral<"ERROR">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { message?: string | undefined; type: "ERROR"; }, { message?: string | undefined; type: "ERROR"; }>>; }; CLOSE_PAGE: { inputs: z.ZodObject<{ pageKey: z.ZodString; }, "strip", z.ZodTypeAny, { pageKey: string; }, { pageKey: string; }>; returns: z.ZodNullable; }; START_TRANSACTION: { inputs: z.ZodObject<{ transactionId: z.ZodString; displayResolvesImmediately: z.ZodOptional; actionName: z.ZodString; action: z.ZodObject<{ slug: z.ZodString; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; slug: string; }, { url: string; slug: string; }>; environment: z.ZodUnion<[z.ZodEnum<["production", "development"]>, z.ZodString]>; user: z.ZodObject<{ email: z.ZodString; firstName: z.ZodNullable; lastName: z.ZodNullable; role: z.ZodEnum<["admin", "developer", "member"]>; teams: z.ZodArray; }, "strip", z.ZodTypeAny, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }, { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }>; params: z.ZodRecord, z.ZodDate]>, z.ZodBigInt]>>; paramsMeta: z.ZodOptional; }, "strip", z.ZodTypeAny, { displayResolvesImmediately?: boolean | undefined; paramsMeta?: any; params: Record; transactionId: string; action: { url: string; slug: string; }; environment: string; user: { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }; actionName: string; }, { displayResolvesImmediately?: boolean | undefined; paramsMeta?: any; params: Record; transactionId: string; action: { url: string; slug: string; }; environment: string; user: { teams: string[]; email: string; firstName: string | null; lastName: string | null; role: "admin" | "developer" | "member"; }; actionName: string; }>; returns: z.ZodNullable; }; CLOSE_TRANSACTION: { inputs: z.ZodObject<{ transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { transactionId: string; }, { transactionId: string; }>; returns: z.ZodNullable; }; IO_RESPONSE: { inputs: z.ZodObject<{ value: z.ZodString; transactionId: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; transactionId: string; }, { value: string; transactionId: string; }>; returns: z.ZodNullable; }; }; export declare type HostSchema = typeof hostSchema; export {};