survey-creator-core
Version:
A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.
8 lines (7 loc) • 446 B
TypeScript
export type ConfigsHash<T> = {
[index: string]: T | boolean | undefined;
__surveyjs_internal_themes_hash?: boolean;
__surveyjs_internal_configs_hash?: boolean;
};
export declare function registerConfig<T>(registerConfigCallback: (config: T) => void, ...configs: Array<T | ConfigsHash<T>>): void;
export declare function sortDefaultConfigs(defaultConfigsOrder: Array<string>, configs: Array<string>, resultArray: Array<string>): void;