import { Config } from '../types/shared';
import { Credentials } from 'aws-sdk';
export declare const getCredentials: ({ IdentityPoolId, region }: Config) => Promise<Credentials | import("aws-sdk/lib/credentials").CredentialsOptions>;
interface GetSignedURLArgs extends Config {
    credentials: Credentials;
}
declare type GetSignedURL = (args: GetSignedURLArgs) => string;
export declare const getSignedURL: GetSignedURL;
interface StreamAudioToWebsocketArgs {
    stream: MediaStream;
    socket: WebSocket;
    sampleRate: number;
    emitSoundStart: () => void;
    emitSoundEnd: () => void;
}
declare type StreamAudioToWebsocket = (args: StreamAudioToWebsocketArgs) => Promise<string>;
export declare const streamAudioToWebSocket: StreamAudioToWebsocket;
export {};
