import { CompassComponentType, CustomFieldFromYAML, CustomFields } from '@atlassian/forge-graphql-types'; export declare function isObjEmpty(obj: Record): boolean; export default class ConfigFileParser { errors: Array; private type; constructor(compassComponentType: CompassComponentType | string); validateConfigCustomFieldsAgainstComponent(configCustomFields?: CustomFieldFromYAML[], componentCustomFields?: CustomFields): void; validateConfig(config: any): void; validateTopLevelProperties(object: any, expectedObject: any): void; validateFieldProperties(fields: any): void; validateCustomFieldsProperties(customFields: any): void; validateLinkProperties(links: any): void; validateRelationshipProperties(relationships: any): void; validateRelationshipsArray(endNodes: Array, relationshipType: string): void; validateLabels(labels: Array, maxLabelLength: number): void; checkForMandatoryKeys(actualKeys: Array, expectedObject: any, topLevelProperty?: string): void; checkForUnknownKeys(actualKeys: Array, expectedKeys: Array): void; checkForUnknownLinkKeys(actualKeys: Array, link: any): void; checkIfKeyIsUnknown(key: string, expectedKeys: Array, nested?: boolean): void; validValueType(value: any, expectedType: string, key: string): boolean; checkFields(key: string, value: any): void; checkLinkType(type: string): void; isCustomFieldTypeValid(type: string): boolean; checkLabelValue(label: string, maxLabelLength: number): void; addError(message: string): void; }