//#region src/errors.d.ts declare class PrismicError extends Error { url?: string; response: Response; constructor(message: string | undefined, url: string | undefined, response: Response); } type ForbiddenErrorRepositoryAPIResponse = { type: string; message: string; }; type ForbiddenErrorQueryAPIResponse = { error: string; }; declare class ForbiddenError extends PrismicError {} declare class NotFoundError extends PrismicError {} declare class RepositoryNotFoundError extends NotFoundError {} type ParsingErrorAPIResponse = { type: "parsing-error"; message: string; pos: { line: number; column: number; id: number; location: string; }; }; declare class ParsingError extends PrismicError {} declare class InvalidDataError extends PrismicError {} type RefExpiredErrorAPIResponse = { type: "api_validation_error"; message: string; }; declare class RefExpiredError extends ForbiddenError {} type RefNotFoundErrorAPIResponse = { type: "api_notfound_error"; message: string; }; declare class RefNotFoundError extends ForbiddenError {} type PreviewTokenExpiredErrorAPIResponse = { type: "api_security_error"; message: string; }; declare class PreviewTokenExpiredError extends ForbiddenError {} //#endregion export { ForbiddenError, InvalidDataError, NotFoundError, ParsingError, PreviewTokenExpiredError, PrismicError, RefExpiredError, RefNotFoundError, RepositoryNotFoundError }; //# sourceMappingURL=errors.d.ts.map