export = FrameConfig; /** * @file Frame Config * @license Apache Version 2 */ declare function FrameConfig(): void; declare class FrameConfig { type: string; create(client: any): DocumentFrame; prettyPrint(): string; json(): { frame: any; rules: any; }; loadJSON(config: any, rules: any): FrameConfig; rules: DocumentRule[]; json_rules(): any[]; load_schema(tf: any): any; get_schema: any; show_all(r: any): FrameConfig; show_parts(o: any, p: any, d: any): FrameConfig; object(): any; property(): any; scope(scope: any): any; data(): any; all(): any; /** * Attaches display options to frames from matching rules */ setFrameDisplayOptions(frame: any, rule: any): void; setFrameFeatures(existing: any, fresh: any): any; setFrameArgs(existing: any, fresh: any): any; } import DocumentFrame = require("./documentFrame.js"); /** * @file Document Rule * @license Apache Version 2 */ declare function DocumentRule(): void; declare class DocumentRule { rule: {}; renderer(rend: any): any; compare(func: any): any; mode(mode: any): any; collapse(func: any): any; view(m: any): any; /** * Should actions which are disabled in the given context be displayed? */ showDisabledButtons(m: any): any; header(m: any): any; errors(errs: any): any; headerStyle(m: any): any; showEmpty(m: any): any; dataviewer(m: any): any; features(...m: any[]): any; headerFeatures(...m: any[]): any; render(func: any): any; style(style: any): any; /** * The frame or feature will be hidden or unhidden (boolean) */ hidden(m: any): any; /** * Specifies arguments to a renderer */ args(json: any): any; /** * Adds a property to a feature array */ applyFeatureProperty(feats: any, prop: any, val: any): {}[]; unpackFeatures(feats: any): string; prettyPrint(): any; }