import { z } from 'zod';
import type { ServiceContext, EventStream, Expand } from '../types';
export declare const schemas: {
    initContext: z.ZodTuple<[z.ZodString, z.ZodOptional<z.ZodAny>], null>;
    transcribe: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodOptional<z.ZodAny>], null>;
    transcribeData: z.ZodTuple<[z.ZodString, z.ZodUnion<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>, z.ZodOptional<z.ZodAny>], null>;
    releaseContext: z.ZodTuple<[z.ZodString], null>;
};
export interface Service {
    initContext: (ctx: ServiceContext, ...args: z.infer<typeof schemas.initContext>) => ReadableStream<Expand<EventStream>>;
    transcribe: (ctx: ServiceContext, ...args: z.infer<typeof schemas.transcribe>) => Promise<any>;
    transcribeData: (ctx: ServiceContext, ...args: z.infer<typeof schemas.transcribeData>) => Promise<any>;
    releaseContext: (ctx: ServiceContext, ...args: z.infer<typeof schemas.releaseContext>) => Promise<any>;
}
declare const _default: {
    initContext: ({ backend, session }: ServiceContext, id: any, property: any) => import("stream/web").ReadableStream<EventStream>;
    transcribe({ backend, session }: {
        backend: any;
        session: any;
    }, id: any, audioPath: any, options: any): Promise<any>;
    transcribeData({ backend }: {
        backend: any;
    }, id: any, audioData: any, options: any): Promise<any>;
    releaseContext: ({ backend, session }: ServiceContext, id: any, force: any) => Promise<any>;
};
export default _default;
