import WOQLTableConfig = require("./tableConfig"); import WOQLChartConfig = require("./chartConfig"); import WOQLGraphConfig = require("./graphConfig"); import WOQLChooserConfig = require("./chooserConfig"); import WOQLStreamConfig = require("./streamConfig"); import FrameConfig = require("./frameConfig"); import { WOQLRule } from "./woqlRule"; import { FrameRule } from "./frameRule"; export function table(): WOQLTableConfig; export function chart(): WOQLChartConfig; export function graph(): WOQLGraphConfig; export function chooser(): WOQLChooserConfig; export function stream(): WOQLStreamConfig; export function document(): FrameConfig; export function loadConfig(config: any): WOQLChartConfig | WOQLChooserConfig | FrameConfig | WOQLGraphConfig | WOQLStreamConfig | WOQLTableConfig; /** * Shorthand functions for accessing the pattern matching capabilities */ export function rule(type: any): WOQLRule | FrameRule; export function pattern(type: any): import("./woqlRule").WOQLPattern | import("./frameRule").FramePattern; /** * Called to match an entire row of results is matched by a set of rules * returns array of rules that matched */ export function matchRow(rules: any, row: any, rownum: any, action: any): any[]; /** * Called to test whether an entire column of results is matched by a set of rules * returns array of rules that matched */ export function matchColumn(rules: any, key: any, action: any): any[]; /** * Called to test whether a specific cell is matched by a set of rules * returns array of rules that matched */ export function matchCell(rules: any, row: any, key: any, rownum: any, action: any): any[]; /** * Called to test whether a specific node is matched by a set of rules * returns array of rules that matched */ export function matchNode(rules: any, row: any, key: any, nid: any, action: any): any[]; /** * Called to test whether a specific edge (source -> target) is matched by a set of rules * returns array of rules that matched */ export function matchEdge(rules: any, row: any, keya: any, keyb: any, action: any): any[]; /** * Called to test whether a specific frame is matched by a set of rules */ export function matchFrame(rules: any, frame: any, onmatch: any): FrameRule[];