import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { DubError } from "./duberror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * A short code indicating the error code returned. */ export declare const InviteExpiredCode: { readonly InviteExpired: "invite_expired"; }; /** * A short code indicating the error code returned. */ export type InviteExpiredCode = ClosedEnum; export type InviteExpiredError = { /** * A short code indicating the error code returned. */ code: InviteExpiredCode; /** * A human readable explanation of what went wrong. */ message: string; /** * A link to our documentation with more details about this error code */ docUrl?: string | undefined; }; /** * This response is sent when the requested content has been permanently deleted from server, with no forwarding address. */ export type InviteExpiredData = { error: InviteExpiredError; }; /** * This response is sent when the requested content has been permanently deleted from server, with no forwarding address. */ export declare class InviteExpired extends DubError { error: InviteExpiredError; /** The original data that was passed to this error instance. */ data$: InviteExpiredData; constructor(err: InviteExpiredData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const InviteExpiredCode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const InviteExpiredError$inboundSchema: z.ZodType; export declare function inviteExpiredErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const InviteExpired$inboundSchema: z.ZodType; //# sourceMappingURL=inviteexpired.d.ts.map