/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { SessionHistoryRow } from './types';
export interface SessionModelView {
    model: string | null;
    provider: string;
    displayName: string;
}
export interface SessionMessageKindInput {
    role?: string;
    type?: string;
}
export declare function sessionShortId(session: Pick<SessionHistoryRow, 'id'>): string;
export declare function sessionCostUsd(session: Pick<SessionHistoryRow, 'cost'>): number | null;
export declare function sessionCostLabel(session: Pick<SessionHistoryRow, 'cost'>): string;
export declare function sessionProviderLabel(model: string | null, provider: string | null): string;
export declare function sessionDeploysLabel(session: Pick<SessionHistoryRow, 'deploy_id' | 'deploy_ids'>): string | null;
export declare function sessionMessageKind(message: SessionMessageKindInput): 'user' | 'assistant';
export declare function sessionMessageCounts(messages: SessionMessageKindInput[]): {
    users: number;
    replies: number;
};
