export declare function createGlobalState(initialState?: S): () => [S | undefined, (state: S) => void]; export default createGlobalState;