/**
 * Incremental session-log contribution for official DeepSeek LLM API requests.
 * Accepted sequence watermarks live in the canonical log, so restart recovery
 * can conservatively resend uncertain tails without maintaining another store.
 * @module @deepseek-ai/dsh-session-log-deepseek
 */
import type { Context } from '@deepseek-ai/cordis';
import z from '@deepseek-ai/schemastery';
import { type Session } from '@deepseek-ai/dsh-session';
export type * from './types.ts';
/** Cordis plugin name. */
export declare const name = "session-log-deepseek";
/** Services required to resolve sessions and contribute the provider request field. */
export declare const inject: string[];
/** Session-log request contribution configuration. */
export interface Config {
    /** Contribute `dsh_session_log` to official DeepSeek requests. Defaults to `false`. */
    enabled?: boolean;
}
/** Validated Session-log request contribution configuration. */
export declare const Config: z<Config>;
/**
 * Highest confirmed sequence for this exact session identity.
 * @param session - canonical log whose matching acceptance events are folded.
 * @returns greatest accepted sequence, or `-1` before any accepted request.
 */
export declare function acceptedThrough(session: Session): number;
/**
 * Register the incremental `dsh_session_log` request contribution when enabled.
 * @param ctx - plugin context carrying Sessions and the DeepSeek request-extension registry.
 * @param config - validated opt-in configuration.
 */
export declare function apply(ctx: Context, config: Config): void;
//# sourceMappingURL=index.d.ts.map