import React from 'react';
/**
 * OsKey Context
 * 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
 * osKey 用于区分不同页面使用同一个组件时的模块标识
 */
interface OsKeyContextType {
    /** pisellos 模块的唯一标识 */
    osKey: string | undefined;
    businessCode: string | undefined;
}
declare const OsKeyContext: React.Context<OsKeyContextType>;
interface OsKeyProviderProps {
    osKey: string | undefined;
    businessCode: string | undefined;
    children: React.ReactNode;
}
/**
 * OsKey Provider
 * 提供 osKey 给子组件使用
 */
export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
/**
 * useOsKey Hook
 * 在子组件中使用此 hook 获取 osKey
 */
export declare const useOsKey: () => string;
export declare const useBusinessCode: () => string;
export default OsKeyContext;
