import { Cache } from './cache'; import { AuthorizedHttpClient } from '../utils/api-request'; import { ICatalystCache, ICatalystSegment, ICatalystGResponse, ParsableComponent } from '../utils/pojo/common'; type ICatalystCacheRes = ICatalystCache & Omit; export declare class Segment implements ParsableComponent { readonly requester: AuthorizedHttpClient; id: string | null; segmentName: string | null; constructor(cacheInstance: Cache, segmentDetails: { [x: string]: unknown; }); getComponentName(): string; put(key: string, value: string, expiry?: number): Promise; update(key: string, value: string, expiry?: number): Promise; getValue(cacheKey: string): Promise; get(cacheKey: string): Promise; delete(cacheKey: string): Promise; toString(): string; toJSON(): ICatalystSegment; } export {};