import * as React from 'react'; import { UIDProps } from './context'; interface WithPrefix { prefix?: string; } /** * UID isolation component, required for SSR and testing. * Wrap your application with it to guarantee UID consistency between SSR and CSR. * @param {String} [prefix] - prefix for all generated ids * @example * * * * @see https://github.com/thearnica/react-uid#server-side-friendly-uid */ export declare const UIDReset: React.FC>; /** * Creates a sub-ids for nested components, isolating from inside a branch. * Useful for self-contained elements or code splitting * @see https://github.com/thearnica/react-uid#code-splitting */ export declare const UIDFork: React.FC>; /** * UID in form of renderProps. Supports nesting and SSR. Prefer {@link useUID} hook version if possible. * @see https://github.com/thearnica/react-uid#server-side-friendly-uid * @see https://github.com/thearnica/react-uid#react-components * @example * // get UID to connect label to input * * {(id)} => * * // get uid to generate uid for a keys in a list * * {(, uid)} => items.map(item =>
  • )} * * * @see {@link useUID} - a hook version of this component * @see {@link UID} - not SSR compatible version */ export declare const UIDConsumer: React.FC; export {};