import { ComponentType } from 'react';
type ChildProps<Props> = Props & {
    id?: string;
};
export type WithIdProps<Props> = Props & {
    id: string;
};
/**
 * @internal
 * @param {ReactNode} WrappedComponent
 */
export default function withId<Props extends object>(WrappedComponent: ComponentType<WithIdProps<Props>>): {
    (props: ChildProps<Props>): import("react").JSX.Element;
    displayName: string;
};
export {};
//# sourceMappingURL=withId.d.ts.map