import { DateAdapter } from '../date-adapter'; import { DateTime } from '../date-time'; export interface IRunnable { readonly timezone: string | null; readonly isInfinite: boolean; /** note: an iterator without any occurrences hasDuration === true */ readonly hasDuration: boolean; firstDate: InstanceType | null; lastDate: InstanceType | undefined | null; /** @internal */ _run(args?: any): IterableIterator; set(prop: 'timezone', value: string | null): IRunnable; } export interface IRunArgs { start?: DateTime; end?: DateTime; take?: number; reverse?: boolean; }