import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const McpServerInstallationsAuthorizeRetrieveInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly install_source: Schema.optional<Schema.Literals<readonly ["posthog", "posthog-code"]>>;
    readonly installation_id: Schema.optional<Schema.String>;
    readonly posthog_code_callback_url: Schema.optional<Schema.String>;
    readonly template_id: Schema.optional<Schema.String>;
}>;
export type McpServerInstallationsAuthorizeRetrieveInput = typeof McpServerInstallationsAuthorizeRetrieveInput.Type;
export declare const McpServerInstallationsAuthorizeRetrieveOutput: Schema.Void;
export type McpServerInstallationsAuthorizeRetrieveOutput = typeof McpServerInstallationsAuthorizeRetrieveOutput.Type;
/**
 * Start (or re-start) an OAuth flow.
 * Pass ``template_id`` to (re)connect a catalog template, or
 * ``installation_id`` to reconnect an existing custom install using its
 * cached metadata and per-user DCR creds.
 *
 * @param install_source - * `posthog` - posthog
 * `posthog-code` - posthog-code
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const mcpServerInstallationsAuthorizeRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly install_source?: "posthog" | "posthog-code" | undefined;
    readonly installation_id?: string | undefined;
    readonly posthog_code_callback_url?: string | undefined;
    readonly project_id: string;
    readonly template_id?: string | undefined;
}, void, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=mcpServerInstallationsAuthorizeRetrieve.d.ts.map