export interface HistoryRequestOpts {
    limit?: number;
    offset?: number;
    /** Ensure at least N tail rows (raises effective limit, capped at 500). */
    minMessages?: number;
}
/** Resolve socket/HTTP `agents:history` tail size. */
export declare function resolveHistoryLimit(opts?: HistoryRequestOpts): number;
