import type { TapPayload, TapQueryFilter, TapType } from '../schemas/tap.js'; import type { PuppetSkeleton } from '../puppet/puppet-skeleton.js'; import type { PaginationRequest, PaginationResponse } from '../schemas/pagination.js'; declare const tapMixin: { cache: import("../agents/cache-agent.js").CacheAgent; __cacheMixinCleanCallbackList: (() => void)[]; start(): Promise; stop(): Promise; dirtyPayload(type: import("../schemas/dirty.js").DirtyType, id: string): void; onDirty({ payloadType, payloadId, }: import("../schemas/event.js").EventDirtyPayload): void; __dirtyPayloadAwait(type: import("../schemas/dirty.js").DirtyType, id: string): Promise; readonly id: string; readonly options: import("../schemas/puppet.js").PuppetOptions; wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync; emit(event: any, ...args: any): boolean; addListener(event: E, listener: import("../puppet/events.js").PuppetEventListener[E]): any; on(event: E_1, listener: import("../puppet/events.js").PuppetEventListener[E_1]): any; once(event: E_2, listener: import("../puppet/events.js").PuppetEventListener[E_2]): any; prependListener(event: E_3, listener: import("../puppet/events.js").PuppetEventListener[E_3]): any; prependOnceListener(event: E_4, listener: import("../puppet/events.js").PuppetEventListener[E_4]): any; off(event: E_5, listener: import("../puppet/events.js").PuppetEventListener[E_5]): any; removeAllListeners(event?: E_6 | undefined): any; removeListener(event: E_7, listener: import("../puppet/events.js").PuppetEventListener[E_7]): any; eventNames(): (string | symbol)[]; rawListeners(event: E_8): Function[]; listeners(event: E_9): Function[]; listenerCount(event: E_10): number; getMaxListeners(): number; setMaxListeners(maxListeners: number): any; __events: import("../puppet/events.js").PuppetEventListener; __currentUserId?: string | undefined; readonly currentUserId: string; readonly isLoggedIn: boolean; __authQrCode?: string | undefined; readonly authQrCode: string | undefined; login(userId: string): void; logout(reason?: string): Promise; selfId(): string; logonoff(): boolean; }) & (abstract new (...args: any[]) => { __currentUserId?: string | undefined; readonly currentUserId: string; readonly isLoggedIn: boolean; __authQrCode?: string | undefined; readonly authQrCode: string | undefined; start(): Promise; stop(): Promise; login(userId: string): void; logout(reason?: string): Promise; selfId(): string; logonoff(): boolean; readonly id: string; readonly options: import("../schemas/puppet.js").PuppetOptions; wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync; emit(event: any, ...args: any): boolean; addListener(event: E_11, listener: import("../puppet/events.js").PuppetEventListener[E_11]): any; on(event: E_12, listener: import("../puppet/events.js").PuppetEventListener[E_12]): any; once(event: E_13, listener: import("../puppet/events.js").PuppetEventListener[E_13]): any; prependListener(event: E_14, listener: import("../puppet/events.js").PuppetEventListener[E_14]): any; prependOnceListener(event: E_15, listener: import("../puppet/events.js").PuppetEventListener[E_15]): any; off(event: E_16, listener: import("../puppet/events.js").PuppetEventListener[E_16]): any; removeAllListeners(event?: E_17 | undefined): any; removeListener(event: E_18, listener: import("../puppet/events.js").PuppetEventListener[E_18]): any; eventNames(): (string | symbol)[]; rawListeners(event: E_8): Function[]; listeners(event: E_9): Function[]; listenerCount(event: E_10): number; getMaxListeners(): number; setMaxListeners(maxListeners: number): any; __events: import("../puppet/events.js").PuppetEventListener; })>(baseMixin: MinxinBase) => (abstract new (...args: any[]) => { /** * 1. Query whether the bot has tapped the post (any types). * 2. Query whether the bot has tapped the post with `type` * 3. Update the `postId` tapped with `type` by the bot */ tap(postId: string, type?: TapType, tap?: boolean): Promise; /** * Search for taps for a post * * @param query * @param pagination */ tapSearch(postId: string, query?: TapQueryFilter, pagination?: PaginationRequest): Promise>; readonly id: string; readonly options: import("../schemas/puppet.js").PuppetOptions; wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync; start: (() => Promise) & (() => Promise) & (() => Promise); stop: (() => Promise) & (() => Promise) & (() => Promise); emit(event: any, ...args: any): boolean; addListener(event: E_19, listener: import("../puppet/events.js").PuppetEventListener[E_19]): any; on(event: E_20, listener: import("../puppet/events.js").PuppetEventListener[E_20]): any; once(event: E_21, listener: import("../puppet/events.js").PuppetEventListener[E_21]): any; prependListener(event: E_22, listener: import("../puppet/events.js").PuppetEventListener[E_22]): any; prependOnceListener(event: E_23, listener: import("../puppet/events.js").PuppetEventListener[E_23]): any; off(event: E_24, listener: import("../puppet/events.js").PuppetEventListener[E_24]): any; removeAllListeners(event?: E_25 | undefined): any; removeListener(event: E_26, listener: import("../puppet/events.js").PuppetEventListener[E_26]): any; eventNames(): (string | symbol)[]; rawListeners(event: E_8): Function[]; listeners(event: E_9): Function[]; listenerCount(event: E_10): number; getMaxListeners(): number; setMaxListeners(maxListeners: number): any; __events: import("../puppet/events.js").PuppetEventListener; cache: import("../agents/cache-agent.js").CacheAgent; __cacheMixinCleanCallbackList: (() => void)[]; dirtyPayload(type: import("../schemas/dirty.js").DirtyType, id: string): void; onDirty({ payloadType, payloadId, }: import("../schemas/event.js").EventDirtyPayload): void; __dirtyPayloadAwait(type: import("../schemas/dirty.js").DirtyType, id: string): Promise; __currentUserId?: string | undefined; readonly currentUserId: string; readonly isLoggedIn: boolean; __authQrCode?: string | undefined; readonly authQrCode: string | undefined; login(userId: string): void; logout(reason?: string): Promise; selfId(): string; logonoff(): boolean; }) & MinxinBase; declare type TapMixin = ReturnType; declare type ProtectedPropertyTapMixin = never; export type { TapMixin, ProtectedPropertyTapMixin, }; export { tapMixin }; //# sourceMappingURL=tap-mixin.d.ts.map