import { BasePromptElementProps, PromptElement, Raw } from '@vscode/prompt-tsx';
import { OpenAIContextManagementResponse } from '../../networking/common/openai';
export interface ICompactionDataContainerProps extends BasePromptElementProps {
    compaction: OpenAIContextManagementResponse;
}
/**
 * Helper element to embed compaction data into assistant messages
 * as an opaque content part, for round-tripping in Responses API requests.
 */
export declare class CompactionDataContainer extends PromptElement<ICompactionDataContainerProps> {
    render(): any;
}
/**
 * Attempts to parse a Raw opaque content part into compaction data, if the type matches.
 */
export declare function rawPartAsCompactionData(part: Raw.ChatCompletionContentPartOpaque): OpenAIContextManagementResponse | undefined;
//# sourceMappingURL=compactionDataContainer.d.ts.map