/** * Returns a stable element id that is identical on the server and on the client. * * Prefer this hook over `createID()` for ids that end up in the rendered markup — * `createID()` is built on `Math.random()`, so SSR and hydration produce different * values and every `aria-labelledby` / `aria-describedby` / `aria-controls` binding * (plus `label[for]`) silently breaks. * * @param prefix Component prefix used for the generated id, e.g. `GovFormInput`. * @param identifier Caller-supplied id; when set it wins over the generated one. */ export declare function useElementId(prefix: string, identifier?: string): string;