import { type JSX } from 'solid-js'; export type ActionMenuEntry = { key: string; label: () => JSX.Element; icon: () => JSX.Element; onSelect: () => void; disabled?: () => boolean; }; export type ActionSource = { priority: () => number; pinned: () => boolean; disabled: () => boolean; inlineContent: () => boolean; menuContent: () => ActionMenuEntry[]; }; export type RegisteredAction = ActionSource & { key: string; }; export type SlotName = 'leading' | 'trailing' | 'trigger'; export type SlotRender = () => JSX.Element; export type SlotRegistration = { slot: SlotName; render: SlotRender; }; export type PairedSource = Omit; export type PairedRegistration = { isInline: () => boolean; claimInline: () => void; registerMenuEntry: (entry: ActionMenuEntry) => void; }; export type RegionWidths = { row: number; leading: number; trailing: number; }; export type ActionsCoordinatorOptions = { widths: RegionWidths; maxInlineAuto?: () => number | undefined; }; export type ActionsCoordinator = { register: (source: ActionSource) => string; registerPaired: (source: PairedSource) => PairedRegistration; registerSlot: (registration: SlotRegistration) => void; slotRender: (slot: SlotName) => SlotRender | undefined; isInline: (key: string) => boolean; menuActions: () => RegisteredAction[]; anyCollapsed: () => boolean; }; export declare function createActionsCoordinator(options: ActionsCoordinatorOptions): ActionsCoordinator; //# sourceMappingURL=composer-actions-core.d.ts.map