export interface CompanyKeyData {
    apiKey: string;
    companyId?: string;
    linkedAt: string;
    lastSyncedAt?: string;
}
export interface CompanyProfile {
    businessNumber: string;
    companyName: string;
    ceoName: string;
    address: string;
    industryCode?: string;
    representativeContact?: string;
    email?: string;
    workerCountTotal?: number;
    establishedDate?: string;
    insurance?: {
        carrier: string;
        subscriptionNumber: string;
    };
    safetyManagement?: {
        policyVersion?: string;
        annualGoal?: string;
        lastReview?: string;
    };
    headquarters?: {
        address: string;
        phone: string;
    };
}
export declare function loadCompanyKey(): Promise<CompanyKeyData | null>;
export declare function saveCompanyKey(data: CompanyKeyData): Promise<void>;
export declare function clearCompanyKey(): Promise<void>;
export declare function getKeyPath(): string;
export declare function maskApiKey(apiKey: string | undefined | null): string;
export declare function maskBusinessNumber(v: string | undefined | null): string;
export declare function maskPersonName(v: string | undefined | null): string;
export declare function maskAddress(v: string | undefined | null): string;
export declare function maskCompanyName(v: string | undefined | null): string;
export interface MaskedCompanyProfile {
    businessNumber?: string;
    companyName?: string;
    ceoName?: string;
    address?: string;
    industryCode?: string;
    representativeContact?: string;
    email?: string;
    workerCountTotal?: number;
    establishedDate?: string;
    insurance?: {
        carrier: string;
        subscriptionNumber: string;
    };
    safetyManagement?: {
        policyVersion?: string;
        annualGoal?: string;
        lastReview?: string;
    };
    headquarters?: {
        address: string;
        phone: string;
    };
}
export declare function maskCompanyProfile(p: CompanyProfile): MaskedCompanyProfile;
/** 라텔웍스 백엔드에서 기업 프로파일 fetch (실패 시 null) */
export declare function fetchCompanyProfile(apiKey: string): Promise<{
    profile: CompanyProfile | null;
    error?: string;
}>;
/** 클라우드 백엔드에 SSoT 동기화 — Site/Person/Equipment 등 업로드 */
export declare function syncToCloud(apiKey: string, payload: {
    sites?: any[];
    projects?: any[];
    persons?: any[];
    equipments?: any[];
    contractors?: any[];
}): Promise<{
    ok: boolean;
    error?: string;
}>;
//# sourceMappingURL=company-key.d.ts.map