import type * as t from "@yaebal/types"; import { CallbackQueryContextBase } from "../generated/callback-query.js"; type AnswerExtra = Omit; type EditExtra = Omit; /** * CallbackQueryContext = generated base + hand-written ergonomic overloads. * Positional-string sugar for `answer` (the toast you fire on every tap) and * `editText` (editing the message the button is attached to). */ export declare class CallbackQueryContext extends CallbackQueryContextBase { /** Id of the chat the button's message is in (if still accessible). */ get chatId(): number | undefined; /** Answer the callback query. Pass a string to flash text to the user. */ answer(text: string, params?: AnswerExtra): Promise; answer(params?: Omit): Promise; /** Edit the attached message's text. Pass a string for the common case. */ editText(text: string, params?: EditExtra): Promise; editText(params: Omit): Promise; } export {}; //# sourceMappingURL=callback-query.d.ts.map