import type { EditorHost } from '@blockeditor/lit';
import type { AffineTextAttributes } from '../../inline/presets/affine-inline-specs.js';
export declare function handleCommonStyle(host: EditorHost, key: Extract<keyof AffineTextAttributes, 'bold' | 'italic' | 'underline' | 'strike' | 'code'>): void;
export declare function commonActiveWhen(host: EditorHost, key: string): boolean;
export declare function isFormatSupported(host: EditorHost): boolean;
//# sourceMappingURL=utils.d.ts.map