import * as Command from "@effect/cli/Command";
export declare const login: Command.Command<"login", import("@effect/platform/Terminal").Terminal, import("effect/ParseResult").ParseError | import("@effect/platform/Error").PlatformError | import("@effect/platform/HttpClientError").HttpClientError | import("@effect/platform/HttpBody").HttpBodyError | import("effect/Cause").TimeoutException | AuthenticationCancelledError | import("@effect/platform/Terminal").QuitException | DeviceAuthorizationError | OpenBrowserError | DeviceTokenStillPendingError | DeviceTokenExpiredError | DeviceTokenPollingError, {}>;
declare const OpenBrowserError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/OpenBrowserError";
} & Readonly<A>;
export declare class OpenBrowserError extends OpenBrowserError_base<{
    readonly url: string;
    readonly cause: unknown;
}> {
}
declare const AuthenticationCancelledError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/AuthenticationCancelled";
} & Readonly<A>;
export declare class AuthenticationCancelledError extends AuthenticationCancelledError_base {
}
declare const DeviceAuthorizationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/DeviceAuthorizationError";
} & Readonly<A>;
export declare class DeviceAuthorizationError extends DeviceAuthorizationError_base<{
    readonly url: string;
    readonly status?: number;
    readonly body?: string;
    readonly cause: unknown;
}> {
    get message(): string;
}
declare const DeviceTokenPollingError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/DeviceTokenPollingError";
} & Readonly<A>;
export declare class DeviceTokenPollingError extends DeviceTokenPollingError_base<{
    readonly url: string;
    readonly status: number;
    readonly cause: unknown;
}> {
}
declare const DeviceTokenStillPendingError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/DeviceTokenStillPendingError";
} & Readonly<A>;
export declare class DeviceTokenStillPendingError extends DeviceTokenStillPendingError_base {
}
declare const DeviceTokenExpiredError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
    readonly _tag: "Amp/cli/auth/errors/DeviceTokenExpiredError";
} & Readonly<A>;
export declare class DeviceTokenExpiredError extends DeviceTokenExpiredError_base {
}
export {};
//# sourceMappingURL=login.d.ts.map