import { type TokenRecord } from '../Token'; import type { CornerRadius } from './CornerRadius'; import type { VizContainerOptions } from './VisualizationDefinition'; type DefaultsFragment = Record & { global?: G; }; interface VizDefaultsOptions { showProgressBar?: boolean; showLastUpdated?: boolean; /** * @deprecated */ hideWhenNoData?: boolean; cornerRadius?: CornerRadius; context?: Record; options?: Record; containerOptions?: VizContainerOptions; } export type VizDefaultsOptionKey = keyof VizDefaultsOptions; export type DashboardVizDefaultsDefinition = DefaultsFragment>; /** * Pick from StanzaEntry the keys provided in the `Keys` union which are associated with a property entry */ export type StanzaDefaults> = { [key in Keys as key extends keyof StanzaEntry ? key : never]: StanzaEntry[key]; }; export type PartialStanzaDefaults> = Partial>; export interface StaticToken { value: string | string[]; } export type StaticTokenNamespace = Record; export type TokenDefaults = Record; export type ResolvedTokenNamespaces = Record; export interface DashboardDefaultsDefinition { visualizations?: DashboardVizDefaultsDefinition; dataSources?: DefaultsFragment>; inputs?: DefaultsFragment>; tokens?: TokenDefaults; } export {}; //# sourceMappingURL=DefaultsDefinition.d.ts.map