import type { BlobBucket } from "../../types.js"; export declare const BLOB_TOKEN_ENV = "UPSTASH_BLOB_TOKEN"; export declare const ENV_FILE_HELP: string; /** Fails before a bucket is created when the token would have nowhere to go. */ export declare function checkEnvFileTarget(path: string): Promise; /** * Sets NAME=value in a dotenv file: every existing NAME line (with or without `export`) is * rewritten in place, otherwise one line is appended. Every other line and line ending is kept. */ export declare function writeEnvVar(path: string, name: string, value: string): Promise; /** Writes the bucket's token to the env file and returns what is safe to print. */ export declare function saveBucketToken(bucket: BlobBucket, path: string): Promise>; //# sourceMappingURL=env-file.d.ts.map