import type { BaseRevId, MaxLag } from '../types/common.js';
import type { SerializedConfig } from '../types/config.js';
export declare const defaultMaxlag = 5;
export declare function post(action: string, data: object, config: SerializedConfig): Promise<any>;
export interface PostData {
    assert?: 'bot' | 'user';
    token?: string;
    summary?: string;
    baserevid?: BaseRevId;
    tags?: string;
    maxlag?: MaxLag;
    title?: string;
}
export interface PostQuery {
    action: string;
    format: 'json';
    bot?: boolean;
}
//# sourceMappingURL=post.d.ts.map