import type { MsgContext } from "../../../src/auto-reply/templating.js"; import type { GetReplyOptions, ReplyPayload } from "../../../src/auto-reply/types.js"; import type { RemoteClawConfig } from "../../../src/config/config.js"; import type { MockFn } from "../../../src/test-utils/vitest-mock-fn.js"; type AnyMock = MockFn<(...args: unknown[]) => unknown>; type AnyAsyncMock = MockFn<(...args: unknown[]) => Promise>; export declare function getLoadWebMediaMock(): AnyMock; export declare function getLoadConfigMock(): AnyMock; export declare function getReadChannelAllowFromStoreMock(): AnyAsyncMock; export declare function getUpsertChannelPairingRequestMock(): AnyAsyncMock; export declare const listSkillCommandsForAgents: import("vitest").Mock<() => never[]>; export declare const enqueueSystemEventSpy: AnyMock; export declare const wasSentByBot: import("vitest").Mock<() => boolean>; export declare const useSpy: MockFn<(arg: unknown) => void>; export declare const middlewareUseSpy: AnyMock; export declare const onSpy: AnyMock; export declare const stopSpy: AnyMock; export declare const commandSpy: AnyMock; export declare const botCtorSpy: AnyMock; export declare const answerCallbackQuerySpy: AnyAsyncMock; export declare const sendChatActionSpy: AnyMock; export declare const editMessageTextSpy: AnyAsyncMock; export declare const editMessageReplyMarkupSpy: AnyAsyncMock; export declare const sendMessageDraftSpy: AnyAsyncMock; export declare const setMessageReactionSpy: AnyAsyncMock; export declare const setMyCommandsSpy: AnyAsyncMock; export declare const getMeSpy: AnyAsyncMock; export declare const sendMessageSpy: AnyAsyncMock; export declare const sendAnimationSpy: AnyAsyncMock; export declare const sendPhotoSpy: AnyAsyncMock; export declare const getFileSpy: AnyAsyncMock; export declare const sequentializeSpy: AnyMock; export declare let sequentializeKey: ((ctx: unknown) => string) | undefined; export declare const throttlerSpy: AnyMock; export declare const replySpy: MockFn<(ctx: MsgContext, opts?: GetReplyOptions, configOverride?: RemoteClawConfig) => Promise>; export declare const getOnHandler: (event: string) => (ctx: Record) => Promise; export declare function makeTelegramMessageCtx(params: { chat: { id: number; type: string; title?: string; is_forum?: boolean; }; from: { id: number; username?: string; }; text: string; date?: number; messageId?: number; messageThreadId?: number; }): { message: { message_thread_id?: number | undefined; chat: { id: number; type: string; title?: string; is_forum?: boolean; }; from: { id: number; username?: string; }; text: string; date: number; message_id: number; }; me: { username: string; }; getFile: () => Promise<{ download: () => Promise>; }>; }; export declare function makeForumGroupMessageCtx(params?: { chatId?: number; threadId?: number; text?: string; fromId?: number; username?: string; title?: string; }): { message: { message_thread_id?: number | undefined; chat: { id: number; type: string; title?: string; is_forum?: boolean; }; from: { id: number; username?: string; }; text: string; date: number; message_id: number; }; me: { username: string; }; getFile: () => Promise<{ download: () => Promise>; }>; }; export {};