/** * #mention.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ import type { UserV2 } from "./userv2.js"; /** * Mentions found in a comment body. * Each top-level mention starts with a u/user token and is delimited by a newline or the end of the comment. */ export type Mentions = { items: Mention[]; }; /** A top-level mention invocation, such as "u/remind-me 3 minutes" */ export type Mention = { user?: UserV2 | undefined; params?: MentionParameters | undefined; }; /** * Parameters following a mention token. * Params start at the first nonblank text after u/user and may contain additional u/mentions as argument text. */ export type MentionParameters = { /** Original parameter text up to the newline or end of comment. */ raw: string; /** Whitespace-tokenized parameters from raw, preserving order. */ args: string[]; }; //# sourceMappingURL=mention.d.ts.map