import TOSBase from '../base'; export interface PutObjectRetentionInput { bucket?: string; key: string; versionId?: string; mode: 'COMPLIANCE'; retainUntilDate: string; } export interface PutObjectRetentionOutput { } /** * @private unstable method */ export declare function putObjectRetention(this: TOSBase, input: PutObjectRetentionInput): Promise>; export interface GetObjectRetentionInput { bucket?: string; key: string; versionId?: string; } export interface GetObjectRetentionOutput { Mode?: string; RetainUntilDate?: string; } /** * @private unstable method */ export declare function getObjectRetention(this: TOSBase, input: GetObjectRetentionInput): Promise>;