UNPKG

@architwankhade/math

Version:
11 lines (10 loc) 805 B
import type { ExcalidrawProps } from "@excalidraw/excalidraw/types"; import type { MarkRequired } from "@architwankhade/common/utility-types"; import type { ExcalidrawElement, ExcalidrawIframeLikeElement, IframeData } from "./types"; type IframeDataWithSandbox = MarkRequired<IframeData, "sandbox">; export declare const createSrcDoc: (body: string) => string; export declare const getEmbedLink: (link: string | null | undefined) => IframeDataWithSandbox | null; export declare const createPlaceholderEmbeddableLabel: (element: ExcalidrawIframeLikeElement) => ExcalidrawElement; export declare const maybeParseEmbedSrc: (str: string) => string; export declare const embeddableURLValidator: (url: string | null | undefined, validateEmbeddable: ExcalidrawProps["validateEmbeddable"]) => boolean; export {};