@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
31 lines • 1.27 kB
TypeScript
import { TimeRange } from '../core/time_range.ts';
import type { TokenManager } from '../core/google/client.ts';
import { GoogleApiAccessor } from './google_api.ts';
import type { GCalConfig } from '../vfs/gcal/config.ts';
export declare class GCalAccessor extends GoogleApiAccessor {
readonly timeRange: TimeRange;
readonly config: GCalConfig;
/**
* Whether the mount walks under a `walkLimit`, asked when a listing runs,
* since the mount settles its own once mounted; a listing then keeps each
* event's unsearched text for the search.
*/
readonly capped: () => boolean;
constructor(opts: {
tokenManager: TokenManager;
config: GCalConfig;
capped?: () => boolean;
});
/**
* The day the default listing window centres on, `YYYY-MM-DD`.
*
* Taken in the mount's bucketing zone rather than the host's: the two
* disagree for several hours a day, so a window centred on the wrong one
* shifts the whole listing by a day around either midnight.
*
* A method rather than a module-level call so a test can pin it and so a
* long-lived mount does not freeze its window at construction time.
*/
today(tz: string): string;
}
//# sourceMappingURL=gcal.d.ts.map