import { Hierarchy, HierarchyEntry, OneOfType } from "./SchemaParser";
export type UIDefinition = {
    hideFromUI?: boolean;
    title?: string;
    displayHorizontal?: boolean;
    regexErrorMessage?: string;
    isObjectAsBool?: boolean;
    order?: number;
    description?: string;
    children?: {
        [key: string]: UIDefinition;
    };
    items?: UIDefinition;
    pattern?: string;
    default?: any;
    oneOf?: OneOfType;
    choices?: OneOfChoice[];
    select?: string[];
    hideRootTitle?: boolean;
    displayAs?: "slider" | "default";
};
export type OneOfChoice = {
    title?: string;
    order?: number;
    hidden?: boolean;
};
export type UISchema = UIDefinition | {
    children?: {
        [key: string]: UIDefinition;
    };
};
export declare function getUIDefinition(uischema: UISchema | null, hierarchy: Hierarchy, leaf?: HierarchyEntry): UIDefinition | null;
