import { IMyopComponent } from "./components/IMyopComponent"; import { Ref } from "../messages"; import { CleanupHandler, IComponentConfig, type IComponentDefinitionConfig, IPropConfig, ISkinConfig } from "../common"; import { loaderOptions } from "./hostSDK"; type componentDefinitionProps = IComponentDefinitionConfig['props']; export declare const setDebugStyle: (id: string, type: string, top: number, container: HTMLElement, componentElement: HTMLElement, componentDefinitionConfig: IComponentDefinitionConfig) => CleanupHandler; export declare const connectProps: (component: IMyopComponent, propsConfig: IPropConfig[], selectedSkin: ISkinConfig) => (Omit & { props: propTypes; }); export declare const createRefProxy: (target: Ref, component: IMyopComponent) => Ref; export declare const createRefComponent: (ref: Ref, componentConfig: IComponentConfig, components: IMyopComponent[], options?: loaderOptions) => Promise; export declare const connectRefs: (component: IMyopComponent, componentConfig: IComponentConfig, components: IMyopComponent[], withoutRefComponents?: boolean) => Promise; export type propTypes = { [Property in keyof T]: T[Property] extends { mode: 'input'; } ? T[Property]['type'] : Promise; }; export declare const exec: (getter: any) => Promise; export declare const actAs: (ref: Ref) => FunctionifyRef; export type FunctionifyRef = { [K in keyof T]: T[K] extends (...args: infer A) => infer R ? (...args: A) => Promise : T[K]; }; export {};