import { Context, Quester, Schema } from 'koishi';
import { ImageSource } from '../../source';
declare class e621ImageSource extends ImageSource<e621ImageSource.Config> {
    languages: string[];
    source: string;
    http: Quester;
    constructor(ctx: Context, config: e621ImageSource.Config);
    get keyPair(): {
        login: string;
        apiKey: string;
    };
    get(query: ImageSource.Query): Promise<ImageSource.Result[]>;
}
declare namespace e621ImageSource {
    interface Config extends ImageSource.Config {
        endpoint: string;
        keyPairs: {
            login: string;
            apiKey: string;
        }[];
        userAgent: string;
    }
    const Config: Schema<Config>;
}
export default e621ImageSource;
