// Generated by dts-bundle-generator v9.5.1 import { BodyScrollOptions } from 'body-scroll-lock-upgrade'; import { ComponentType as mComponentType, ICustomElement, createContext } from 'component-register'; import { Accessor } from 'solid-js'; export declare function toHyphenated(str: string): string; export type ComponentType = mComponentType; export type CorrectComponentOptions = { element: HTMLElement & ICustomElement; }; export type CorrectComponentType = (props: T, options: CorrectComponentOptions) => unknown; export declare function customElement(tagName: string, props: T, Component?: ComponentType, ...rest: ((C: ComponentType) => ComponentType)[]): import("component-register/types/utils").ComponentType; export declare function customShadowlessElement(tagName: string, props: T, Component?: ComponentType, ...rest: ((C: ComponentType) => ComponentType)[]): import("component-register/types/utils").ComponentType; export declare const correctElementType: (component: CorrectComponentType) => ComponentType; export declare function isCustomElement(element: any): element is ICustomElement & HTMLElement; export declare function getContextFromProvider(context: ReturnType, element: Element): T; export declare function checkLoaded(): boolean; export declare function invokeOnLoaded(fn: () => void, { signal }: { signal?: AbortSignal; }): void; /** * Creates a HOF to ensure that a given callback is invoked only after the context for the element is ready. * */ export declare function createWithElementContext, ContextState = null>(context: Context): (target: string | Accessor | Accessor<() => Element>, dependencies: Accessor | undefined, cb: (context: ContextState, dependencies: D) => void | (() => void)) => void; export type Format = "currency" | "number" | "boolean" | "invert_boolean" | string; export declare function formatValue(format: Format, value: unknown): any; export declare function getTemplateContent(element: HTMLElement, state: string): DocumentFragment | null; export declare const disableBodyScroll: (element: ICustomElement & HTMLElement, options?: BodyScrollOptions) => void; export declare const enableBodyScroll: (element: ICustomElement & HTMLElement) => void; export {};