import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
import { IFlatten } from '../common-utils/iFlatten';
import { CommonLibConfigurationService } from '../common-lib-configuration.service';
import * as i0 from "@angular/core";
export declare class FlattenService {
    private _httpClient;
    private _configuration;
    private flatten;
    _http: any;
    constructor(_httpClient: HttpClient, _configuration: CommonLibConfigurationService);
    /**
     * Getter for flatten data as an observable
     */
    get flatten$(): Observable<IFlatten | null>;
    /**
     * Fetch flatten details and update BehaviorSubject
     * @param appVersionId - The application version ID
     * @returns Observable<IFlatten> - The flatten data
     */
    getFlattenData(appVersionId: number): Observable<IFlatten>;
    /**
     * Flatten the app data
     * @param appVersionId - The application version ID
     * @param accountId - The account ID
     * @returns Observable<number> - The response
     */
    flattenApp(appVersionId: number, accountId: number): Observable<number>;
    /**
     * Retrieve account ID from localStorage
     * @returns The account ID or null if not set
     */
    getAccountId(): string | null;
    /**
     * Clear account ID from localStorage
     */
    clearAccountId(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FlattenService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<FlattenService>;
}
