import { TitleMapItem } from '../json-schema-form.service'; /** * Layout function library: * * buildLayout: Builds a complete layout from an input layout and schema * * buildLayoutFromSchema: Builds a complete layout entirely from an input schema * * mapLayout: * * getLayoutNode: * * buildTitleMap: */ /** * 'buildLayout' function */ export declare function buildLayout(jsf: any, widgetLibrary: any): any[]; /** * 'buildLayoutFromSchema' function */ export declare function buildLayoutFromSchema(jsf: any, widgetLibrary: any, nodeValue?: any, schemaPointer?: string, dataPointer?: string, arrayItem?: boolean, arrayItemType?: string, removable?: boolean, forRefLibrary?: boolean, dataPointerPrefix?: string): any; /** * 'mapLayout' function * * Creates a new layout by running each element in an existing layout through * an iteratee. Recursively maps within array elements 'items' and 'tabs'. * The iteratee is invoked with four arguments: (value, index, layout, path) * * The returned layout may be longer (or shorter) then the source layout. * * If an item from the source layout returns multiple items (as '*' usually will), * this function will keep all returned items in-line with the surrounding items. * * If an item from the source layout causes an error and returns null, it is * skipped without error, and the function will still return all non-null items. */ export declare function mapLayout(layout: any, fn: any, layoutPointer?: string, rootLayout?: any): any[]; /** * 'getLayoutNode' function * Copy a new layoutNode from layoutRefLibrary */ export declare function getLayoutNode(refNode: any, jsf: any, widgetLibrary?: any, nodeValue?: any): any; /** * 'buildTitleMap' function */ export declare function buildTitleMap(titleMap: any, enumList: any, fieldRequired?: boolean, flatList?: boolean): TitleMapItem[];