/** * `cleo cloud activity`: what this account's devices did on Cleo Nexus and * when (snapshots pushed or refused, leases taken, forced or released, * projects linked, devices enrolled or signed out), newest first. * * Reads E18 `GET /v1/account/activity` (the caller's own events) with the * device credential and names each device from the account's device list. * `--project` keeps the events whose target is that project or its stream. * * @task T12951 * @epic T12323 */ import type { CloudActivityResult } from '@cleocode/contracts'; import { type NexusCloudOptions } from './nexus-cloud.js'; /** Largest page `GET /v1/account/activity` serves. */ export declare const NEXUS_ACTIVITY_PAGE_MAX = 200; /** Options of {@link nexusCloudActivity}. */ export interface NexusCloudActivityOptions extends NexusCloudOptions { /** Events to return (1..200, default 50). */ limit?: number; /** Page before this event id (from a previous `nextBefore`). */ before?: string; /** Keep only events about this server project id. */ projectId?: string; /** Keep only events by this device id. */ deviceId?: string; /** Pages to follow while filling `limit` under a filter; default 5. */ maxPages?: number; } /** * List this account's recent cloud activity. * * @param opts - Paging, project filter and overrides. * @returns Events newest first, each with its device's name. */ export declare function nexusCloudActivity(opts?: NexusCloudActivityOptions): Promise; //# sourceMappingURL=nexus-cloud-activity.d.ts.map