import type { AutotaskErrorItem } from "../types/index.js"; import type { AllAutotaskEntityNames } from "../autotask-types/index.js"; import type { IncludeClause, RelationshipConfigMap } from "../types/general.js"; import type { Logger } from "../types/logger.js"; export declare function pickFields>(obj: T, fieldsToPick: string[] | undefined): Partial; export declare function processToManyRelationship

, // Type of Primary items T_F extends Record>(augmentedItems: T_P[], allRelatedEntities: T_F[], relationshipConfig: RelationshipConfigMap[P][keyof RelationshipConfigMap[P]], clause: IncludeClause, logger: Logger): void; export declare function processToOneRelationship, T_F extends Record>(primaryEntityName: P_Name, // Added parameter augmentedItems: T_P[], allRelatedEntities: T_F[], relationshipConfig: RelationshipConfigMap[P_Name][keyof RelationshipConfigMap[P_Name]], clause: IncludeClause, accumulatedErrors: AutotaskErrorItem[], logger: Logger): void; //# sourceMappingURL=relationships.d.ts.map