import * as Layer from "effect/Layer";
import * as Context from "effect/Context";
import * as Redacted from "effect/Redacted";
import { ConfigError } from "@distilled.cloud/core/errors";
/** Default EAS GraphQL host. The endpoint path (`/graphql`) is set per operation. */
export declare const DEFAULT_API_BASE_URL = "https://api.expo.dev";
export interface Config {
    readonly accessToken: Redacted.Redacted<string>;
    readonly apiBaseUrl: string;
}
declare const Credentials_base: Context.ServiceClass<Credentials, "EasCredentials", Config>;
export declare class Credentials extends Credentials_base {
}
/**
 * Build credentials from environment variables.
 *
 * - `EXPO_TOKEN` — Personal/Organization access token from
 *   https://expo.dev/settings/access-tokens (required)
 * - `EXPO_API_URL` — override the API host (optional, defaults to
 *   https://api.expo.dev). Set to `https://staging-api.expo.dev` to target
 *   staging, mirroring eas-cli's `EXPO_STAGING=1` flag.
 */
export declare const CredentialsFromEnv: Layer.Layer<Credentials, ConfigError, never>;
export {};
//# sourceMappingURL=credentials.d.ts.map