import type { PdfAssetPolicy } from "./phase9-types.js"; export type PdfFontSource = Buffer | Uint8Array | string; export declare const MAX_FONT_FILE_SIZE: number; export declare const MAX_PDF_FONT_SOURCE_BYTES: number; export interface PdfFontSourceContext { assetPolicy?: PdfAssetPolicy; family?: string; sourceKind?: string; } export declare function sha1Buffer(input: Buffer | Uint8Array | string): string; export declare function sanitizePostScriptName(value: string): string; export declare function loadFontSourceBuffer(source: PdfFontSource, maxBytes?: number, context?: PdfFontSourceContext): Promise; export declare function buildPdfBinarySourceKey(source: PdfFontSource): string; export declare function buildFontSourceKey(source: PdfFontSource, family: string): string; //# sourceMappingURL=font-source.d.ts.map