import { ConfigError } from "@distilled.cloud/core/errors";
import * as Context from "effect/Context";
import * as Layer from "effect/Layer";
/**
 * Default PostHog API host (US Cloud).
 *
 * Override per-region by setting `POSTHOG_HOST` (e.g. `https://eu.posthog.com`
 * for EU Cloud, or your self-hosted instance URL). Operation paths in the spec
 * already include the `/api/...` prefix, so the host should NOT include it.
 */
export declare const DEFAULT_API_BASE_URL = "https://us.posthog.com";
export interface Config {
    /** PostHog Personal API key (sent as `Authorization: Bearer <key>`). */
    readonly apiKey: string;
    /** Base host URL, e.g. `https://us.posthog.com`. */
    readonly apiBaseUrl: string;
}
declare const Credentials_base: Context.ServiceClass<Credentials, "PosthogCredentials", Config>;
export declare class Credentials extends Credentials_base {
}
export declare const CredentialsFromEnv: Layer.Layer<Credentials, ConfigError, never>;
export {};
//# sourceMappingURL=credentials.d.ts.map