@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
14 lines • 784 B
TypeScript
import type { TrelloAccessor } from '../../../../accessor/trello.ts';
/**
* Refuse a board the install's scope leaves out.
*
* A verb reaches the API by the id it is handed, not through a listing, so
* without this the config's `workspaceId` and `boardIds` would narrow nothing
* the CLI does. Mirrors python's `require_board`.
*/
export declare function requireBoard(accessor: TrelloAccessor, boardId: string): Promise<void>;
/** Refuse a list on a board the install's scope leaves out. */
export declare function requireList(accessor: TrelloAccessor, listId: string): Promise<void>;
/** Refuse a card on a board the install's scope leaves out. */
export declare function requireCard(accessor: TrelloAccessor, cardId: string): Promise<void>;
//# sourceMappingURL=scope.d.ts.map