import { IOption, ISearchArgument } from "../../../components/ez-combo-box/ez-combo-box";
export interface RenderMetadata {
  label: string;
  hidden: boolean;
  userInterface: string;
  options: {
    [key: string]: any;
  }[];
  props?: Map<string, any>;
  optionLoader?: (argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption;
}
export declare enum CustomRenderSource {
  GRID = "GRID",
  FORM = "FORM"
}
export interface ICustomRenderParams {
  value: any;
  name: string;
  charPress: string | null;
  currentRender: HTMLElement;
  renderMetadata: RenderMetadata;
  source: CustomRenderSource;
  detailContext?: string;
  setValue?: (value: any) => void;
  getValue?: () => any;
}
export interface ICustomRender {
  getRenderElement(params: ICustomRenderParams): HTMLElement | string | undefined;
}
