import createError from '@fastify/error'; import { RequestError } from 'got'; export declare const OFFLINE_ERROR_CODES: string[]; export declare const NotFoundError: createError.FastifyErrorConstructor; export declare const AlreadyExistsError: createError.FastifyErrorConstructor; export declare const UnsupportedSourceError: createError.FastifyErrorConstructor; export declare const MismatchedIdError: createError.FastifyErrorConstructor; export declare const MBAccessTokenRequiredError: createError.FastifyErrorConstructor; export declare const UnsupportedMBTilesFormatError: createError.FastifyErrorConstructor; export declare const MBTilesImportTargetMissingError: createError.FastifyErrorConstructor; export declare const MBTilesInvalidMetadataError: createError.FastifyErrorConstructor; export declare const MBTilesCannotReadError: createError.FastifyErrorConstructor; export declare const UpstreamJsonValidationError: createError.FastifyErrorConstructor; export declare const ParseError: createError.FastifyErrorConstructor; export declare const InvalidGlyphsRangeError: createError.FastifyErrorConstructor; export declare const createForwardedUpstreamError: (statusCode: number) => createError.FastifyErrorConstructor; export declare function isOfflineError(err: unknown): err is RequestError; export declare function isNotFoundError(err: unknown): boolean;