UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

30 lines • 1.96 kB
import type { TrelloAccessor } from '../../accessor/trello.ts'; /** The workspaces the mount shows: the member's, narrowed to `workspaceId` when it is set. */ export declare function filteredWorkspaces(accessor: TrelloAccessor): Promise<Record<string, unknown>[]>; /** A workspace's open boards the mount shows, narrowed to `boardIds` when it is set. */ export declare function filteredBoards(accessor: TrelloAccessor, workspaceId: string): Promise<Record<string, unknown>[]>; /** Whether `workspaceId` or `boardIds` narrows the mount. */ export declare function scopeIsNarrowed(accessor: TrelloAccessor): boolean; /** * Whether the mount's scope admits a board addressed by id. * * The two knobs that narrow the listing narrow an id too: a board * `boardIds` leaves out, or one outside `workspaceId`, is not this * mount's to read or write. Unnarrowed, every id is admitted without a * call; `workspaceId` costs one board fetch. Mirrors python's * `board_in_scope`. */ export declare function boardInScope(accessor: TrelloAccessor, boardId: string): Promise<boolean>; export declare const WORKSPACE: import("../hierarchy/stat.ts").RowFn; export declare const WORKSPACE_JSON: import("../hierarchy/stat.ts").RowFn; export declare const BOARD: import("../hierarchy/stat.ts").RowFn; export declare const BOARD_JSON: import("../hierarchy/stat.ts").RowFn; export declare const MEMBER: import("../hierarchy/stat.ts").RowFn; export declare const LABEL: import("../hierarchy/stat.ts").RowFn; export declare const LIST: import("../hierarchy/stat.ts").RowFn; export declare const LIST_JSON: import("../hierarchy/stat.ts").RowFn; export declare const CARD: import("../hierarchy/stat.ts").RowFn; export declare const CARD_JSON: import("../hierarchy/stat.ts").RowFn; export declare const COMMENTS: import("../hierarchy/stat.ts").RowFn; export declare const readdir: import("../hierarchy/probe.ts").ReaddirFn<TrelloAccessor>; //# sourceMappingURL=readdir.d.ts.map