import { RenderPluginFactory, CoreVizPluginInstance } from '../../api/plugin-types'; import { NestField } from '../../data_tree'; import { BigValueSettings } from './big-value-settings'; /** * Metadata returned by the Big Value plugin */ interface BigValuePluginMetadata { type: 'big_value'; field: NestField; settings: BigValueSettings; } /** * Big Value plugin instance type * Extends CoreVizPluginInstance for storybook compatibility */ export interface BigValuePluginInstance extends CoreVizPluginInstance { field: NestField; } /** * Big Value Plugin Factory * * Renders aggregate values as prominent metric cards. * * Usage in Malloy: * # big_value * run: my_source -> { * aggregate: * opportunity_count * total_revenue * } * * With comparison values: * # big_value * run: my_source -> { * aggregate: * opportunity_win_rate_ytd * # big_value { comparison_field='opportunity_win_rate_ytd' comparison_label='vs Prior Year' comparison_format='ppt' } * opportunity_win_rate_prior_year * } */ export declare const BigValuePluginFactory: RenderPluginFactory; export {};