import { ToolbarCommandState, ToolbarContext } from '../types.js';
export declare const isCommandDisabled: (context: ToolbarContext | null) => boolean;
export declare const isMutationCommandDisabled: (context: ToolbarContext | null) => boolean;
export declare const createDisabledStateDeriver: (options?: {
    withValue?: boolean;
}) => ({ context }: {
    context: ToolbarContext | null;
}) => ToolbarCommandState;
export declare const createDirectCommandExecute: (commandName: string) => ({ context, payload }: {
    context: any;
    payload?: unknown;
}) => boolean;
//# sourceMappingURL=general.d.ts.map