import { CapabilityPoller } from "./capabilityPoller.ts"; import { type IHttpOpts, type MatrixHttpApi } from "./http-api/index.ts"; import type { Logger } from "./logger.ts"; export interface RetentionConfigurationResponse { policies?: Record; limits?: { min_lifetime?: { min?: number; max?: number; }; max_lifetime?: { min?: number; max?: number; }; }; } /** * Manages storing and periodically refreshing the server capabilities. */ export declare class RetentionPolicyService extends CapabilityPoller { constructor(logger: Logger, http: MatrixHttpApi); /** * Fetches the latest server capabilities from the homeserver and returns them, or rejects * on failure. */ fetch: () => Promise; } //# sourceMappingURL=retentionPolicy.d.ts.map