/**
* Client-side validation for {@link setFormFont} arguments. Mirrors the
* Java FormFontValidator and .NET FormFontValidator added for PDF-2184.
*
* The engine validates again on receipt — this client check is the
* fail-fast layer that surfaces obvious mistakes before any network I/O.
*/
///
///
/**
* Validate a PDF font name. Allowed characters: letters, digits, '_', '-',
* '.', '+'. The '+' is permitted to accept subset prefixes like
* "AAAAAA+Poppins-Regular". Names must be 1-63 characters.
*
* @throws Error when the name fails validation.
*/
export declare function validateFormFontName(fontName: string): void;
/**
* Validate raw font bytes look like a TrueType / OpenType / TTC sfnt
* container. Catches the obvious cases: empty payload, oversize payload,
* ASCII text passed instead of bytes, and all-zero payloads.
*
* @throws Error when the data fails validation.
*/
export declare function validateFormFontData(fontData: Buffer): void;
//# sourceMappingURL=formFontValidator.d.ts.map