import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const RoleExternalReferencesLookupRetrieveInput: Schema.Struct<{
    readonly organization_id: Schema.String;
    readonly provider: Schema.String;
    readonly provider_organization_id: Schema.String;
    readonly provider_role_id: Schema.optional<Schema.String>;
    readonly provider_role_slug: Schema.optional<Schema.String>;
}>;
export type RoleExternalReferencesLookupRetrieveInput = typeof RoleExternalReferencesLookupRetrieveInput.Type;
export declare const RoleExternalReferencesLookupRetrieveOutput: Schema.Struct<{
    readonly reference: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly provider: Schema.optional<Schema.String>;
        readonly provider_organization_id: Schema.optional<Schema.String>;
        readonly provider_role_id: Schema.optional<Schema.String>;
        readonly provider_role_slug: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly provider_role_name: Schema.optional<Schema.String>;
        readonly role: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly uuid: Schema.optional<Schema.String>;
            readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly last_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
            readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly role_at_organization: Schema.optional<Schema.Unknown>;
        }>>>;
    }>>>;
}>;
export type RoleExternalReferencesLookupRetrieveOutput = typeof RoleExternalReferencesLookupRetrieveOutput.Type;
/**
 *
 * @param provider - Integration kind (e.g., github, linear, jira, slack).
 * @param provider_organization_id - Provider organization/workspace/site identifier.
 * @param provider_role_id - Stable provider role identifier.
 * @param provider_role_slug - Human-friendly provider role identifier.
 */
export declare const roleExternalReferencesLookupRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly organization_id: string;
    readonly provider: string;
    readonly provider_organization_id: string;
    readonly provider_role_id?: string | undefined;
    readonly provider_role_slug?: string | undefined;
}, {
    readonly reference?: {
        readonly id?: string | undefined;
        readonly provider?: string | undefined;
        readonly provider_organization_id?: string | undefined;
        readonly provider_role_id?: string | undefined;
        readonly provider_role_slug?: string | null | undefined;
        readonly provider_role_name?: string | undefined;
        readonly role?: string | undefined;
        readonly created_at?: string | undefined;
        readonly created_by?: {
            readonly id?: number | undefined;
            readonly uuid?: string | undefined;
            readonly distinct_id?: string | null | undefined;
            readonly first_name?: string | undefined;
            readonly last_name?: string | undefined;
            readonly email?: string | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly role_at_organization?: unknown;
        } | null | undefined;
    } | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=roleExternalReferencesLookupRetrieve.d.ts.map