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 NotFoundCode: { readonly NotFound: "not_found"; }; /** * A short code indicating the error code returned. */ export type NotFoundCode = ClosedEnum; export type NotFoundError = { /** * A short code indicating the error code returned. */ code: NotFoundCode; /** * 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; }; /** * The server cannot find the requested resource. */ export type NotFoundData = { error: NotFoundError; }; /** * The server cannot find the requested resource. */ export declare class NotFound extends DubError { error: NotFoundError; /** The original data that was passed to this error instance. */ data$: NotFoundData; constructor(err: NotFoundData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const NotFoundCode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const NotFoundError$inboundSchema: z.ZodType; export declare function notFoundErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NotFound$inboundSchema: z.ZodType; //# sourceMappingURL=notfound.d.ts.map