/** * Utility function to check if the error is an `InvalidFileNameError`. * * This will be thrown when `startAttachedFileUpload` is called * * @param {unknown} e the error * @returns {boolean} true if the error is an `InvalidFileNameError`, false otherwise */ export declare function isInvalidFileNameError(e: unknown): boolean; /** * Utility function to check if the error is an `InvalidFileTypeError`. * * This will be thrown when `startAttachedFileUpload` is called * * @param {unknown} e the error * @returns {boolean} true if the error is an `InvalidFileTypeError`, false otherwise */ export declare function isInvalidFileTypeError(e: unknown): boolean; /** * Utility function to check if the error is an `InvalidFileSizeError`. * * This will be thrown when `startAttachedFileUpload` is called * * @param {unknown} e the error * @returns {boolean} true if the error is an `InvalidFileSizeError`, false otherwise */ export declare function isInvalidFileSizeError(e: unknown): boolean; /** * Utility function to check if the error is a `TotalFileSizeExceededError`. * * This will be thrown when `startAttachedFileUpload` is called * * @param {unknown} e the error * @returns {boolean} true if the error is a `TotalFileSizeExceededError`, false otherwise */ export declare function isTotalFileSizeExceededError(e: unknown): boolean; /** * Utility function to check if the error is a `TotalFileCountExceededError`. * * This will be thrown when `startAttachedFileUpload` is called * * @param {unknown} e the error * @returns {boolean} true if the error is a `TotalFileCountExceededError`, false otherwise */ export declare function isTotalFileCountExceededError(e: unknown): boolean; //# sourceMappingURL=error-helpers.d.ts.map