import { Observable } from 'rxjs';
import { Gist } from './gist.model';
import * as i0 from "@angular/core";
export declare class CodeLoader {
    private _http;
    private _options;
    /**
     * Get plus code
     * @param id Gist ID
     */
    getCodeFromGist(id: string): Observable<Gist>;
    /**
     * Get code by URL
     * @param url File raw link
     */
    getCodeFromUrl(url: string): Observable<string>;
    private fetchFile;
    static ɵfac: i0.ɵɵFactoryDeclaration<CodeLoader, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CodeLoader>;
}
