import { CustomFieldFromYAML } from '@atlassian/forge-graphql-types'; type APIResponse = { json: Promise } & Pick< Response, 'json' | 'text' | 'arrayBuffer' | 'ok' | 'status' | 'statusText' | 'headers' >; // Config as code types type YamlFields = { tier?: number; lifecycle?: string; isMonorepoProject?: boolean; }; type YamlLink = { type: string; url: string; name?: string | null; id?: string; }; type YamlRelationships = { DEPENDS_ON?: string[]; }; type CompassYaml = { id?: string; name?: string; description?: string; slug?: string; ownerId?: string; fields?: YamlFields; configVersion?: string | number; links?: Array; relationships?: YamlRelationships; typeId?: string; customFields?: CustomFieldFromYAML[]; labels?: Array; }; export { APIResponse, CompassYaml, YamlRelationships, YamlFields, YamlLink };