import type { ExclusionQuery, ExclusionUnavailableReason, ListSegmentRecordIdsQuery, SegmentReaderPort } from '../ports/segment-reader-port'; export default class AgentClientSegmentReader implements SegmentReaderPort { private readonly agentUrl; private readonly authSecret; constructor(params: { agentUrl: string; authSecret: string; }); listRecordIds(query: ListSegmentRecordIdsQuery): Promise; exclusionUnavailableReason(query: ExclusionQuery): Promise; sortsOnSeveralFields(liana: string | null | undefined, lianaVersion: string | null | undefined): boolean; private createClient; private static resolveLister; private static buildFilters; private static buildRecordIdFilter; /** * The JSON:API resource id, which the agent already builds by joining the primary key with `|` * (`IdUtils.packId`) — the very form the orchestrator stores as `recordId`. Rebuilding it from the * attributes would be wrong anyway: the deserializer overwrites an `id` attribute with the * resource id, so a composite key would come back doubled. */ private static readRecordId; } //# sourceMappingURL=agent-client-segment-reader.d.ts.map