import { NSFileSystem } from "../file-system/ns-file-system"; import { Observable } from "rxjs"; export declare type httpResponseFactory = (url: string, body: any, status: number) => T; export declare type httpErrorFactory = (url: string, body: any, status: number) => any; export declare function isLocalRequest(url: string): boolean; export declare function getAbsolutePath(url: string, nsFileSystem: NSFileSystem): string; export declare function processLocalFileRequest(url: string, nsFileSystem: NSFileSystem, successResponse: httpResponseFactory, errorResponse: httpErrorFactory): Observable;