/**
 * Hook that derives a MessagingApi adapter from the portal SDK's FluidProvider context.
 *
 * Maps FluidSDKConfig fields to a MessagingApiConfig, then wraps the
 * concrete API client functions into a MessagingApi interface instance
 * that messaging-core hooks consume via context.
 */
import type { MessagingApiConfig } from "@fluid-app/messaging-api-client";
import type { MessagingApi } from "@fluid-app/messaging-core";
export interface MessagingConfig {
    readonly apiConfig: MessagingApiConfig;
    readonly messagingApi: MessagingApi;
    readonly websocketUrl: string;
}
export declare function useMessagingConfig(): MessagingConfig;
//# sourceMappingURL=use-messaging-config.d.ts.map