import { FetchRepositoryBase } from "../../../shared/index.js"; import type { CountMatchesInput, CountMatchesResponse, ListSegmentsParams, ListSegmentsResponse, Segment, SegmentCreateInput, SegmentUpdateInput } from "./SegmentsTypes.js"; export declare class SegmentsRepository extends FetchRepositoryBase { /** * List segments in a realm with pagination and filtering */ getSegments(realmUid: string, params?: ListSegmentsParams): Promise; /** * Get detailed information about a specific segment */ getSegment(realmUid: string, id: number): Promise; /** * Create a new segment */ createSegment(realmUid: string, data: SegmentCreateInput): Promise; /** * Update an existing segment */ updateSegment(realmUid: string, id: number, data: SegmentUpdateInput): Promise; /** * Delete a segment */ deleteSegment(realmUid: string, id: number): Promise; /** * Count matching users for a filter query without creating a segment */ countMatches(realmUid: string, data: CountMatchesInput): Promise; } //# sourceMappingURL=SegmentsRepository.d.ts.map