import { Request, Textract as AWSTextract } from 'aws-sdk';
declare type ReturnTypeFrom<K extends keyof AWSTextract> = AWSTextract[K] extends (...args: any) => Request<infer R, any> ? R : never;
declare type ParamsFrom<K extends keyof AWSTextract, Extras> = AWSTextract[K] extends {
    (param: infer P, callback: (...args: any) => void): Request<infer R, any>;
    (callback: (...args: any) => void): any;
} ? P & Extras : never;
export declare class Textract {
    private readonly client;
    private constructor();
    readonly signingRegion: undefined;
    readonly service: "textract";
    readonly global: false;
    readonly category: "Machine Learning";
    readonly topLevelCalls: readonly [];
    analyzeDocument: (params: ParamsFrom<'analyzeDocument', Record<string, never>>) => Promise<ReturnTypeFrom<'analyzeDocument'>>;
    analyzeExpense: (params: ParamsFrom<'analyzeExpense', Record<string, never>>) => Promise<ReturnTypeFrom<'analyzeExpense'>>;
    analyzeID: (params: ParamsFrom<'analyzeID', Record<string, never>>) => Promise<ReturnTypeFrom<'analyzeID'>>;
    detectDocumentText: (params: ParamsFrom<'detectDocumentText', Record<string, never>>) => Promise<ReturnTypeFrom<'detectDocumentText'>>;
    getDocumentAnalysis: (params: ParamsFrom<'getDocumentAnalysis', Record<string, never>>) => Promise<ReturnTypeFrom<'getDocumentAnalysis'>>;
    getDocumentTextDetection: (params: ParamsFrom<'getDocumentTextDetection', Record<string, never>>) => Promise<ReturnTypeFrom<'getDocumentTextDetection'>>;
    getExpenseAnalysis: (params: ParamsFrom<'getExpenseAnalysis', Record<string, never>>) => Promise<ReturnTypeFrom<'getExpenseAnalysis'>>;
    startDocumentAnalysis: (params: ParamsFrom<'startDocumentAnalysis', Record<string, never>>) => Promise<ReturnTypeFrom<'startDocumentAnalysis'>>;
    startDocumentTextDetection: (params: ParamsFrom<'startDocumentTextDetection', Record<string, never>>) => Promise<ReturnTypeFrom<'startDocumentTextDetection'>>;
    startExpenseAnalysis: (params: ParamsFrom<'startExpenseAnalysis', Record<string, never>>) => Promise<ReturnTypeFrom<'startExpenseAnalysis'>>;
    static fromClient(client: AWSTextract): Textract;
    static client(options?: AWSTextract.Types.ClientConfiguration): Textract;
}
export {};
