///
import { ComponentMetadata } from '@sunmao-ui/core/lib/metadata';
import { ComponentImplProps } from '@sunmao-ui/runtime';
import { TLiteral } from '@sinclair/typebox';
import { SlotSpec } from '@sunmao-ui/core';
export declare type IntoStringUnion = {
[K in keyof T]: T[K] extends string ? TLiteral : never;
};
export declare function StringUnion(values: [...T], options?: any): import("@sinclair/typebox").TKeyOf> | import("@sinclair/typebox").ReadonlyPropertyKeys> | import("@sinclair/typebox").OptionalPropertyKeys> | Exclude> | import("@sinclair/typebox").ReadonlyPropertyKeys> | import("@sinclair/typebox").OptionalPropertyKeys>>>;
export declare const FALLBACK_METADATA: ComponentMetadata;
export declare const getComponentProps: , TState, TMethods, TSlots extends Record, KStyleSlots extends readonly string[], KEvents extends readonly string[]>(props: T & {
component: import("@sunmao-ui/core").RuntimeComponentSchema;
childrenMap: import("@sunmao-ui/runtime").ChildrenMap;
services: import("@sunmao-ui/runtime").UIServices;
isInModule: boolean;
app: import("@sunmao-ui/core").RuntimeApplication;
allComponents: import("@sunmao-ui/core").RuntimeComponentSchema>[];
slotContext?: {
renderSet: Set;
slotKey?: string | undefined;
} | undefined;
} & import("@sunmao-ui/runtime").ComponentParamsFromApp & {
data?: unknown;
customStyle?: Record | undefined;
callbackMap?: import("@sunmao-ui/runtime").CallbackMap | undefined;
componentDidUnmount?: (() => void)[] | undefined;
componentDidMount?: (() => void | Function)[] | undefined;
componentDidUpdate?: (() => void | Function)[] | undefined;
traitPropertiesDidUpdated?: (() => void | Function)[] | undefined;
} & import("@sunmao-ui/runtime").RuntimeFunctions & {
elementRef?: import("react").MutableRefObject | undefined;
getElement?: ((ele: HTMLElement) => void) | undefined;
}) => Omit;
childrenMap: import("@sunmao-ui/runtime").ChildrenMap;
services: import("@sunmao-ui/runtime").UIServices;
isInModule: boolean;
app: import("@sunmao-ui/core").RuntimeApplication;
allComponents: import("@sunmao-ui/core").RuntimeComponentSchema>[];
slotContext?: {
renderSet: Set;
slotKey?: string | undefined;
} | undefined;
} & import("@sunmao-ui/runtime").ComponentParamsFromApp & {
data?: unknown;
customStyle?: Record | undefined;
callbackMap?: import("@sunmao-ui/runtime").CallbackMap | undefined;
componentDidUnmount?: (() => void)[] | undefined;
componentDidMount?: (() => void | Function)[] | undefined;
componentDidUpdate?: (() => void | Function)[] | undefined;
traitPropertiesDidUpdated?: (() => void | Function)[] | undefined;
} & import("@sunmao-ui/runtime").RuntimeFunctions & {
elementRef?: import("react").MutableRefObject | undefined;
getElement?: ((ele: HTMLElement) => void) | undefined;
}, "component" | "slotsElements" | "childrenMap" | "services" | "app" | "customStyle" | "callbackMap" | "mergeState" | "subscribeMethods" | "getElement" | "elementRef" | "hooks" | "isInModule" | "isInEditor" | "componentDidMount" | "componentDidUnmount" | "componentDidUpdate">;