export declare const useDialog: (init?: boolean) => [boolean, () => void, () => void];