import type { PropertiesDatatypes } from '../properties/fetch_properties_datatypes.js';
import type { AbsoluteUrl } from '../types/common.js';
import type { SimplifiedEditableReference, SimplifiedEditableSnaks } from '../types/edit_entity.js';
import type { Guid, Hash, PropertyId, Reference } from 'wikibase-sdk';
export interface SetReferenceParams {
    guid: Guid;
    hash?: Hash;
    snaks?: SimplifiedEditableSnaks;
    /** @deprecated use the `snaks` object instead, to be able to set a single reference with several snaks  */
    property?: PropertyId;
    /** @deprecated use the `snaks` object instead, to be able to set a single reference with several snaks  */
    value?: SimplifiedEditableReference;
}
export declare function setReference(params: SetReferenceParams, properties: PropertiesDatatypes, instance: AbsoluteUrl): {
    action: string;
    data: SetReferenceData;
};
interface SetReferenceData {
    statement: Guid;
    snaks: string;
    reference?: Hash;
}
export interface SetReferenceResponse {
    pageinfo: {
        lastrevid: number;
    };
    success: 1;
    reference: Reference;
}
export {};
//# sourceMappingURL=set.d.ts.map