/**
 * An example of how to sync focus path through document.location.hash
 *
 */
import React from 'react';
import { Path } from '@sanity/types';
declare type ChildArgs = {
    onFocus: (path: Path) => void;
    onBlur: () => void;
    focusPath: Path;
};
declare type Props = {
    focusPath: any | null;
    onFocus: () => {};
    onBlur: () => {};
    children: (arg0: ChildArgs) => any;
};
declare type State = {
    focusPath: Array<any>;
};
export default class HashFocusManager extends React.Component<Props, State> {
    state: {
        focusPath: Path;
    };
    componentDidMount(): void;
    componentWillUnmount(): void;
    handleHashChange: () => void;
    handleFocus: (focusPath: Path) => void;
    handleBlur: () => void;
    render(): any;
}
export {};
//# sourceMappingURL=HashFocusManager.d.ts.map