export interface ConnectionDetails {
    serverUrl: string;
    roomName: string;
    participantName: string;
    participantToken: string;
}
export interface RouteProps {
    userName: string;
    agentId: string;
    userId: string;
}
/**
 * Handler for connection details requests
 * To be used with Next.js API routes or similar server-side functions
 *
 * @param req - Request object containing user details
 * @returns Connection details for the client
 */
export declare function connectionHandler(req: any): Promise<ConnectionDetails>;
/**
 * Next.js API route handler template
 * Users can copy this into their Next.js API routes
 */
export declare function nextApiHandler(req: any, res: any): Promise<any>;
/**
 * Next.js App Router handler template
 * Users can copy this into their Next.js App Router handlers
 */
export declare function nextAppRouteHandler(req: Request): Promise<Response>;
