import { type EditEntityParams } from './edit.js';
import type { PropertiesDatatypes } from '../properties/fetch_properties_datatypes.js';
import type { AbsoluteUrl } from '../types/common.js';
import type { SerializedConfig } from '../types/config.js';
import type { Item, Lexeme, Property } from 'wikibase-sdk';
export type CreateEntityParams = Omit<EditEntityParams, 'id'>;
export declare function createEntity(params: CreateEntityParams, properties: PropertiesDatatypes, instance: AbsoluteUrl, config: SerializedConfig): Promise<{
    action: string;
    data: {
        data: string;
        id?: `Q${number}` | `P${number}` | `L${number}` | `M${number}`;
        new?: "property" | "item" | "lexeme" | "mediainfo";
        clear?: boolean;
    };
}>;
export interface CreateEntityResponse {
    entity: Item | Property | Lexeme;
    success: 1;
}
//# sourceMappingURL=create.d.ts.map