import { TiledMap } from '../types/Map'; type ParseOptions = { getOnlyBasename?: boolean; }; export declare class TiledParserFile { private file; private basePath; constructor(file: string, { basePath, staticDir, relativePath }?: { basePath?: string; staticDir?: string; relativePath?: string; }); static isBrowser(): boolean; static typeOfFile(file: string): { isXml: boolean; isObject: boolean; isHttp: boolean; isPath: boolean; }; private _parseFile; parseFile(cb: Function, options?: ParseOptions): void; parseFilePromise(options?: ParseOptions): Promise; } export {};