import { Density, WithChildren } from "@fremtind/jkl-core";
import React, { ChangeEventHandler } from "react";
type RadioGroupContext = {
    name: string | undefined;
    value: string | undefined;
    inline: boolean;
    density?: Density;
    invalid: boolean;
    onChange: ChangeEventHandler<HTMLInputElement> | undefined;
};
export declare const useRadioGroupContext: () => RadioGroupContext;
interface Props extends WithChildren {
    state: RadioGroupContext;
}
export declare const RadioGroupContextProvider: React.FC<Props>;
export {};
