import { System } from './system'; /** * LocalSdkBuilder enables the same automatic reload development experience we have for blocks for * the SDK. It works by: * - Installing a local copy of the SDK (this makes sure that all the other npm dependencies are) * in the right place * - Starting the SDK's own development builder * - Keeping node_modules/@airtable/blocks/dist in sync with the local SDK's dist folder so * that changes there trigger normal bundle rebuilds * * Often, symlinking the package (e.g. yarn link) is enough to get this sort of workflow. We can't * use that here though, as node's (and subsequently browserify's) module resolution means that the * SDK won't be able to resolve the right version of packages that would usually be hoisted or peer * dependencies, like React. */ export declare class LocalSdkBuilder { system: System; sdkPath: string; constructor(system: System, sdkPath: string); startAsync(): Promise; _getBlockDirPathAsync(): Promise; _createTemporarySdkPackageAsync(): Promise; _installLocalSdkAsync(packagePath: string): Promise; _buildAndWatchSourceAsync(): Promise; _copyAndWatchBuildAsync(sourcePath: string, destPath: string): Promise; }