/** * Reack hook to generate unique id * * @param idProp the external id passed from the user * @param prefix prefix to append before the id */ export declare function useId(idProp?: string, prefix?: string): string; /** * Reack hook to generate ids for use in compound components * * @param idProp the external id passed from the user * @param prefixes array of prefixes to use * * @example * * ```js * const [buttonId, menuId] = useIds("52", "button", "menu") * * // buttonId will be `button-52` * // menuId will be `menu-52` * ``` */ export declare function useIds(idProp?: string, ...prefixes: string[]): string[];