import type { Session, Message } from '../../types/api';
type ApiSession = Record<string, unknown> & {
    title?: string | null;
    createdAt?: string | number;
    lastActiveAt?: string | number;
    lastViewedAt?: string | number | null;
    pinnedAt?: string | number | null;
};
type ApiMessage = Record<string, unknown> & {
    createdAt?: string | number;
    completedAt?: string | number | null;
};
export declare function extractErrorMessage(error: unknown): string;
export declare function configureApiClient(): void;
export declare function getBaseUrl(): string;
export declare function setRuntimeApiBaseUrl(value: string): string;
export declare function convertSession(apiSession: ApiSession): Session;
export declare function convertMessage(apiMessage: ApiMessage): Message;
export {};
//# sourceMappingURL=utils.d.ts.map