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!

16 lines (15 loc) 735 B
import { CommonOptions } from '@pdfme/common'; import type { ListItem, ListLayout, ListSchema } from './types.js'; export declare const normalizeListItems: (value: unknown) => string[]; export declare const parseListItem: (value: string) => ListItem; export declare const normalizeListItemEntries: (value: unknown) => ListItem[]; export declare const serializeListItems: (items: ListItem[]) => string; export declare const getListMarkers: (schema: ListSchema, items: string[]) => string[]; export declare const calculateListLayout: (arg: { schema: ListSchema; items: string[]; markerItems?: string[]; startIndex: number; options: CommonOptions; _cache: Map<string | number, unknown>; }) => Promise<ListLayout>;