/**
 * 全局扫码搜索结果格式化（对齐 ticketBooking `formatScanGlobal`）。
 */
export type GlobalScanSearchType = 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product' | 'order';
export interface GlobalScanFormattedResult {
    searchType: GlobalScanSearchType;
    data: any;
    scanCode: string;
}
interface RawScanSearchResult {
    searchType?: GlobalScanSearchType;
    response?: {
        status?: boolean;
        code?: number;
        message?: string;
        data?: any;
    };
}
/**
 * 将 handleGlobalScan 返回的原始结构格式化为 UI/OS 统一结构。
 *
 * @example
 * ```ts
 * const formatted = formatGlobalScanResult(
 *   { searchType: 'wallet', response: { code: 200, data: { customer: {...} } } },
 *   'WL123',
 * );
 * // => { searchType: 'wallet', data: customerObj, scanCode: 'WL123' }
 * ```
 */
export declare function formatGlobalScanResult(raw: RawScanSearchResult | null | undefined, scanCode: string): GlobalScanFormattedResult | null;
export {};
