UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

20 lines 986 B
import { type Entity, type EntityId } from 'wikibase-sdk'; import type { AbsoluteUrl } from '../../../src/lib/types/common.js'; export interface GetRevisionsParams { id: EntityId; customInstance?: AbsoluteUrl; limit?: number; props?: string | string[]; } export declare function getLastRevision(id: EntityId, customInstance?: AbsoluteUrl): Promise<any>; export declare const wait: (ms: any) => Promise<unknown>; export declare function getEntity(id: EntityId): Promise<any>; export declare function getEntityHistory(id: EntityId, customInstance?: AbsoluteUrl): Promise<any>; export declare function getLastEditSummary(_id: EntityId | { entity: Entity; }): Promise<any>; export declare const undesiredRes: (done: any) => (res: any) => void; export declare function shouldNotBeCalled(res: any): void; export declare function rethrowShouldNotBeCalledErrors(err: any): void; export declare const isBotPassword: (password: any) => any; //# sourceMappingURL=utils.d.ts.map