import { type ReactNode } from 'react'; import { SlotDefinition as BaseSlotDefinition, SlotControl, type DeserializedRecord, type ResourceResolver, type Stylesheet, type Resolvable, type DataType } from '@makeswift/controls'; export type SlotPlaceholderConfig = { builderOnly?: boolean; height?: number; text?: string; }; export type SlotConfig = { unstable_placeholder?: SlotPlaceholderConfig; }; declare abstract class BaseDefinition extends BaseSlotDefinition { } export declare class SlotDefinition extends BaseDefinition { static deserialize(data: DeserializedRecord): SlotDefinition; constructor(config?: SlotConfig); resolveValue(data: DataType | undefined, _resolver: ResourceResolver, _stylesheet: Stylesheet, control?: SlotControl): Resolvable; } export declare function Slot(config?: SlotConfig): SlotDefinition; export { SlotControl }; //# sourceMappingURL=slot.d.ts.map