export type OptionKind = "boolean" | "count" | "document" | "nested";
export interface OptionField {
    readonly kind: OptionKind;
    readonly max?: number;
    readonly schema?: OptionSchema;
}
export type OptionSchema = {
    readonly [key: string]: OptionField;
};
export type OptionsResult<T> = {
    readonly ok: true;
    readonly value: T;
} | {
    readonly ok: false;
    readonly reason: string;
};
export type OptionRecord = {
    readonly [key: string]: string | number | boolean | object | undefined;
};
export type InertRecord = object;
export declare function inertOptions<T extends InertRecord>(schema: OptionSchema, input: unknown, what: string): OptionsResult<T>;
