import type { IPublishOptions } from './types';
export declare function validate({ dir, publishPathProd, publishPathTest, publishEnv, }: {
    dir: string;
    publishPathProd: string;
    publishPathTest: string;
    publishEnv: string;
}): true | 0;
/**
 * 本地发布模块到测试/生产环境
 * 读取环境变量配置，打包并发布静态资源到指定路径
 * @param {IPublishOptions} options 发布配置选项
 * @param {string} [options.publishEnv='test'] 发布环境，'test' 或 'prod'
 * @param {string} [options.fileTar] 自定义 tar 文件路径
 * @param {string} [options.fileDir] 自定义文件目录路径
 * @returns {Promise<void>}
 * @example
 * ```ts
 * await localPublish({
 *   publishEnv: 'test',
 * });
 * ```
 */
export declare function localPublish(options: IPublishOptions): Promise<void>;
