import { Http } from '@angular/http';
import { CommsService } from '../auth';
import { ComposerDebugService } from '../debug.service';
export declare class Resources {
    http: CommsService;
    private http_unauth;
    private debug;
    authLoaded: boolean;
    private factories;
    private url;
    private auth_promise;
    private mock;
    constructor(http: CommsService, http_unauth: Http, debug: ComposerDebugService);
    readonly is_ready: any;
    initAuth(resolve: any, reject: any): any;
    setup(options: any): void;
    init(url_base?: string, mock?: boolean): Promise<any>;
    getToken(): Promise<any>;
    checkAuth(): void;
    new(name: string, url: string, params: any, methods: any): void;
    get(name: string): any;
}
