import type { LegacyFunctionComponent, StagedComponent } from '@fluentui-react-native/framework-base'; import type { UseSlotOptions, Slots } from '@fluentui-react-native/use-slots'; import type { UseStylingOptions, TokenSettings, ThemeHelper, HasLayer } from '@fluentui-react-native/use-styling'; export type UseStyledSlots = (props: TProps, lookup?: HasLayer) => Slots; export type ComposeFactoryOptions = UseStylingOptions & UseSlotOptions & { /** * Includes from UseStylingOptions: * */ displayName?: string; /** * staged render function that takes props and a useSlots hook as an input */ useRender: (props: TProps, useSlots: UseStyledSlots) => LegacyFunctionComponent; /** * optional statics to attach to the component */ statics?: TStatics; }; export type ComposeFactoryComponent = StagedComponent & { __options: ComposeFactoryOptions; customize: (...tokens: TokenSettings[]) => ComposeFactoryComponent; compose(options: Partial>): ComposeFactoryComponent; } & TStatics; export declare function composeFactory(options: ComposeFactoryOptions, themeHelper: ThemeHelper, base?: ComposeFactoryComponent): ComposeFactoryComponent; //# sourceMappingURL=composeFactory.d.ts.map