wikibase-edit
Version:
Edit Wikibase from NodeJS
14 lines • 975 B
TypeScript
import { type Claim, type Entity, type Guid, type Item, type Datatype } from 'wikibase-sdk';
export declare function getSandboxItem(): Promise<Item>;
export declare function getRefreshedEntity<T extends Entity = Item>(id: T['id']): Promise<T>;
export declare function getSandboxClaim(datatype?: Datatype): Promise<Claim>;
export declare function getRefreshedClaim(guid: Guid): Promise<Claim>;
export declare function getSandboxItemId(): Promise<`Q${number}`>;
export declare function getSandboxPropertyId(datatype: Datatype): Promise<`P${number}`>;
export declare function getSandboxClaimId(): Promise<Guid>;
export declare function createItem(data?: {}): Promise<Item>;
export declare function getSomeItemId(): Promise<`Q${number}`>;
export declare function getSomeGuid(): Promise<Guid<`Q${number}`>>;
export declare const getReservedItem: typeof createItem;
export declare const getReservedItemId: () => Promise<`Q${number}`>;
//# sourceMappingURL=sandbox_entities.d.ts.map