import type { Type } from "@hylimo/core"; /** * Function which creates an element type * * @param elements the allowed elements, if none are provided, all elements are allowed * @returns the generated type */ export declare function elementType(...elements: string[]): Type; /** * Type for any type of point */ export declare const canvasPointType: Type; /** * Type for any type of canvas element */ export declare const canvasContentType: Type; /** * Type for any simple element which can e.g. be used inside a rect or container */ export declare const simpleElementType: Type; /** * Type for either a string or a list of span elements */ export declare const stringOrSpanListType: Type; //# sourceMappingURL=types.d.ts.map