import { Key } from 'react-aria'; export type UseFormattingStateProps = { withPreservedSelection: (fn: () => void) => () => void; }; export declare const useFormattingState: ({ withPreservedSelection, }: UseFormattingStateProps) => { selectedKeys: Set; selectedScriptKeys: Set; allSelectedKeys: Set; handleAllSelectionChange: (keys: "all" | Set) => void; };