import type { ArkmeBotSummary } from '../types.js'; export interface ArkmeBotDirectoryPreferences { pinnedKeys: string[]; } export declare function botDirectoryPreferenceKey(bot: Pick): string; export declare function readBotDirectoryPreferences(userId: number | undefined, storage?: Storage): ArkmeBotDirectoryPreferences; export declare function botDirectoryIsPinned(preferences: ArkmeBotDirectoryPreferences, bot: Pick): boolean; export declare function writeBotDirectoryPreferences(userId: number | undefined, preferences: ArkmeBotDirectoryPreferences, storage?: Storage): void; export declare function updateBotDirectoryPreferences(preferences: ArkmeBotDirectoryPreferences, bot: Pick, update: { pinned?: boolean; }): ArkmeBotDirectoryPreferences; /** Consume legacy Browser-only pins after each durable Host confirmation. */ export declare function migrateBotDirectoryPreferences(userId: number, bots: readonly ArkmeBotSummary[], pin: (botRef: string) => Promise, signal?: AbortSignal, storage?: Storage): Promise; //# sourceMappingURL=bot-directory-preferences.d.ts.map