/// import { Agent } from "https"; export interface Config { token?: string; debug?: boolean; agent?: Agent; url?: string; } export declare enum ChainMethod { WITH_TOKEN = "withToken", WITH_PROJECT_IDS = "withProjectIds", FOR_TEAM = "forTeam", ON_BOARD = "onBoard" } export declare enum DispatchMethod { GET_PROJECTS = "getProjects", GET_BOARDS = "getBoards", GET_TEAMS = "getTeams", GET_PATHS = "getPaths" } export declare enum Dep { BOARD_IDS = "boardIds", PROJECT_IDS = "projectIds", TEAM_IDS = "teamIds", TOKEN = "token" } export declare enum StatusText { OK = "OK" } export declare enum Resource { PROJECT = "project", TEAM = "team", BOARD = "board", INTENTS = "intents", VARIABLES = "variables", ENTITIES = "entities", PATHS = "paths" } declare enum Response { buildProject = 0, resources = 1, project = 2, team = 3, board = 4, intents = 5, variables = 6, entities = 7, paths = 8 } export declare type FetchResult = Promise>; export declare type FetchResults = Promise[]>; export declare type JSONResponse = { [P in keyof typeof Response]: T; }; export interface ProjectOptions { teamId: string; projectId: string; } interface ResourceOptionsSingle { teamId: string; projectId: string; boardId?: string; resources: Resource[]; } export declare type ResourcesOptions = ResourceOptionsSingle | ResourceOptionsSingle[]; export {};