import { TimeSpan } from '@elaraai/core/east'; import { Cache } from '@elaraai/core/datasource'; import { ELARASchema } from '@elaraai/core/schema'; /** * A {@link HolidaysPluginDefinition} to configure the {@link HolidaysPlugin}. * * @category DataSource */ export declare type HolidaysPluginDefinition = { /** the configuration of the {@link Cache} for the DataSource. */ cache?: Cache; /** the configuration of the DataSource {@link Poll} */ poll?: TimeSpan; }; /** * Create a streaming {@link DataSourceDefinition} for Australian Public Holidays ranging from 2019-2022 with supporting diagnostic pages, from the Data Gov API: {@link https://data.gov.au/dataset/ds-dga-b1bc6077-dadd-4f61-9f8c-002ab2cdff10/details}. * * @param definition: the desired {@link HolidaysPluginDefinition}. * @return a {@link ELARASchema} containing a {@link HolidaysPluginDefinition} contents * * @category DataSource * * @example * // Create a cached HolidaysPlugin. * const holidays = HolidaysPlugin({ }) */ export declare function HolidaysPlugin(args?: HolidaysPluginDefinition): ELARASchema; //# sourceMappingURL=holidays.d.ts.map