import type { SessionListRow } from "../../../session-list-model.js"; export type ChatOperations = { /** The chat's shareable address. */ linkTo(chat: Pick): string; copyLink(chat: Pick): Promise; setPinned(chat: SessionListRow, pinned: boolean): Promise; setArchived(chat: SessionListRow, archived: boolean): Promise; setUnread(chat: SessionListRow, unread: boolean): Promise; }; export declare function chatPath(chat: Pick): string; export declare function useChatOperations(): ChatOperations;