/** * A set of filtering options for segments. */ export declare class SegmentsFilter { process: string; step: string; mapIds: string[]; tags: string[]; withoutParentArg: boolean; prevLinkHash: string; linkHashes: string[]; constructor(process?: string); /** * Filter out segments that aren't in the given process step. * @param step of the target segments. */ withStep(step: string): SegmentsFilter; /** * Filter out segments that aren't in one of the given maps. * @param mapIDs of the target segments. */ withMapIDs(...mapIDs: string[]): SegmentsFilter; /** * Filter out segments that don't have the given tags. * @param tags of the target segments. */ withTags(...tags: string[]): SegmentsFilter; /** * Filter out segments that have a parent. */ withoutParent(): SegmentsFilter; /** * Filter out segments that aren't children of the given segment. * @param parentHash hex-encoded hash of the parent. */ withParent(parentHash: string): SegmentsFilter; /** * Filter out segments that don't have the given link hashes. * @param linkHashes hex-encoded link hashes of the target segments. */ withLinkHashes(...linkHashes: string[]): SegmentsFilter; /** * Converts to a plain Javascript object with default values removed. * This is useful to avoid bloat when converting to url query parameters. */ toObject(): any; } //# sourceMappingURL=segmentsFilter.d.ts.map