declare type DefaultValue = T | (() => T); declare type ReturnValue = [T, (nextValue: string) => void]; /** * This is a simple hook that will allow you to "strongly" type a `Select` * component's value since the `onChange` handler only returns a `string`. * * @param defaultValue - The default value to use * @returns an ordered list containing the current value followed by the * dispatch function to update the state. */ export declare function useSelectState(defaultValue: DefaultValue): ReturnValue; export {};