import { View } from '@elaraai/core/analytics'; import { ELARASchema } from '@elaraai/core/schema'; /** * A {@link ViewsPluginDefinition} to configure the {@link ViewsPlugin}. * * @category Analytics */ export declare type ViewsPluginDefinition = { /** the `Record` containing one or more {@link View}'s */ views: Record; /** prepend the artefact names with this */ prepend?: string; }; /** * Create a diagnostic page showing a the values within one ore more `View`'s * * @param definition: the desired {@link ViewsPluginDefinition}. * @return a {@link ELARASchema} containing a {@link ViewsPluginDefinition} contents * * @category Analytics * * @example * ```typescript * // Use a data source * import money from "./gen/money.view" * import orders from "./gen/orders.view" * // Create a `ViewsPlugin` to generate two pages with output of the `Views`'s. * const tables = ViewsPlugin({ * views: { * money: money.output, * orders: orders.output * } * }) * ``` */ export declare function ViewsPlugin(config: ViewsPluginDefinition): ELARASchema; //# sourceMappingURL=views.d.ts.map