import { type BaseBlockModel } from '@revesuite/store'; import { type Page } from '@revesuite/store'; import type { AffineTextAttributes } from '../../__internal__/rich-text/virgo/types.js'; export type ActionProps = { page: Page; abortController?: AbortController; /** * The current format of the selected text */ format?: AffineTextAttributes; }; export declare const actionConfig: ({ id: string; name: string; disabledToolTip: undefined; icon: import("lit").TemplateResult<1>; hotkey: undefined; showWhen: () => boolean; enabledWhen: () => boolean; action: ({ page }: ActionProps) => void; } | { id: string; name: string; disabledToolTip: string; icon: import("lit").TemplateResult<1>; hotkey: string; showWhen: (page: Page, models: BaseBlockModel[]) => boolean; enabledWhen: (page: Page) => boolean; action: ({ page }: ActionProps) => void; })[]; //# sourceMappingURL=const.d.ts.map