import { DialogState } from "./state"; export type Action = { type: "open"; } | { type: "close"; }; export type ReducerState = { opened: DialogState["opened"]; }; export declare const reducer: (state: ReducerState, action: Action) => ReducerState;