import { CompletionItem } from "./composerCompletion.mjs"; //#region src/web/lib/sessionMentions.d.ts /** A session as an `@` mention offers it, by its id on its own computer. */ export interface MentionableSession { id: string; name: string; /** Status copy shown beside the suggestion, such as "running". */ detail: string; /** Workspace name; absent for Home and workspace-free sessions. */ workspace?: string; workspaceId?: string; } /** The scheme a session reference carries in a message: `@session:`. */ export declare const SESSION_REFERENCE_SCHEME = "session:"; /** The session a `session:` reference names: an exact id, a unique slug, or `-`. */ export declare function resolveSessionReference(reference: string, sessions: readonly MentionableSession[]): MentionableSession | undefined; /** * The sessions an `@` query suggests, before files, each led by its name. A query matches `session:` from its * start, so `@s` and `@session:g` both narrow, or the name or token anywhere, so `@notes` finds "Release notes". */ export declare function sessionCompletions(sessions: readonly MentionableSession[], query: string): CompletionItem[]; //#endregion //# sourceMappingURL=sessionMentions.d.mts.map