import type { Response } from 'express';
import type { LayoutMode } from '../../models/NangoConfig.js';
declare class LocalFileService {
    readFile(rawFilePath: string): string | null;
    getIntegrationFile(syncName: string, providerConfigKey: string, setIntegrationPath?: string | null): string | null;
    putIntegrationFile(syncName: string, fileContents: string, distPrefix: boolean): boolean;
    checkForIntegrationDistFile(syncName: string, providerConfigKey: string, optionalNangoIntegrationsDirPath?: string): {
        result: boolean;
        path: string;
    };
    checkForIntegrationSourceFile(fileName: string, optionalNangoIntegrationsDirPath?: string): {
        result: boolean;
        path: string;
    };
    getLayoutMode(scriptName: string, providerConfigKey: string, type: string): LayoutMode;
    private getFullPathTsFile;
    /**
     * Zip And Send Files
     * @desc grab the files locally from the integrations path, zip and send
     * the archive
     */
    zipAndSendFiles(res: Response, integrationName: string, accountId: number, environmentId: number, nangoConfigId: number, providerConfigKey: string, flowType: string): Promise<void>;
    private resolveIntegrationFile;
}
declare const _default: LocalFileService;
export default _default;
