UNPKG

@pdfme/schemas

Version:

TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!

8 lines (7 loc) 593 B
import { type BasePdf } from '@pdfme/common'; import type { TextSchema } from './types.js'; type TextOverflowSchema = Pick<TextSchema, 'overflow'> & Partial<Pick<TextSchema, 'type'>>; export declare const canUseTextOverflowExpand: (schema: Partial<Pick<TextSchema, "type">>, basePdf?: BasePdf) => boolean; export declare const isTextOverflowExpand: (schema: TextOverflowSchema, basePdf?: BasePdf) => boolean; export declare const shouldUseDynamicFontSize: (schema: Pick<TextSchema, "dynamicFontSize" | "overflow"> & Partial<Pick<TextSchema, "type">>, basePdf?: BasePdf) => boolean; export {};