export declare function useServerState(name: string, initial: T): [T | typeof initial, ((newValue: T) => void)];