import type { ToolbarContext } from '@blocksuite/affine-shared/services'; import type { BlockComponent } from '@blocksuite/std'; import type { Menu, MenuItem } from './types'; export declare function renderCurrentMenuItemWith>(items: MenuItem[], currentValue: T, field: F): MenuItem[F] | undefined; export declare function renderMenu({ label, tooltip, icon, items, currentValue, onPick, }: Menu): import("lit-html").TemplateResult<1>; export declare function renderMenuItems(items: MenuItem[], currentValue: T, onPick: (value: T) => void): unknown; export declare function getRootBlock(ctx: ToolbarContext): BlockComponent | null; //# sourceMappingURL=utils.d.ts.map