All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.asset-registries.Illustrations.d.ts Maven / Gradle / Ivy

import type { I18nText } from "../i18nBundle.js";
type IllustrationLoader = (illustrationName: string) => Promise;
type IllustrationProperties = {
    dialogSvg: string;
    sceneSvg: string;
    spotSvg: string;
    dotSvg: string;
    title: I18nText;
    subtitle: I18nText;
};
type IllustrationData = IllustrationProperties & {
    set: string;
    collection: string;
};
declare const registerIllustration: (name: string, data: IllustrationData) => void;
declare const registerIllustrationLoader: (illustrationName: string, loader: IllustrationLoader) => void;
declare const getIllustrationDataSync: (illustrationName: string) => IllustrationProperties | undefined;
declare const getIllustrationData: (illustrationName: string) => Promise;
export { getIllustrationDataSync, registerIllustration, registerIllustrationLoader, getIllustrationData, };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy