import { z } from "zod"; /** * Connected-account providers that can be managed via the CLI/public API. * Kept inline so this isomorphic package does not pull in server-only code. */ export declare const CONNECTED_ACCOUNT_PROVIDER_VALUES: readonly ["github", "google", "microsoft", "linear", "bitbucket", "slack"]; export declare const ConnectedAccountProviderEnum: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; google: "google"; linear: "linear"; microsoft: "microsoft"; slack: "slack"; }>; export declare const BeginConnectedAccountConnectInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; google: "google"; linear: "linear"; microsoft: "microsoft"; slack: "slack"; }>; }, z.core.$strip>; export declare const BeginConnectedAccountConnectOutputSchema: z.ZodObject<{ url: z.ZodString; attemptId: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>; export type BeginConnectedAccountConnectInput = z.infer; export type BeginConnectedAccountConnectOutput = z.infer; export declare const beginConnectedAccountConnect: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; google: "google"; linear: "linear"; microsoft: "microsoft"; slack: "slack"; }>; }, z.core.$strip>, z.ZodObject<{ url: z.ZodString; attemptId: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>, "api">; export declare const ConnectedAccountConnectAttemptStatusEnum: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; pending: "pending"; }>; export declare const GetConnectedAccountConnectAttemptInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; attemptId: z.ZodString; }, z.core.$strip>; export declare const GetConnectedAccountConnectAttemptOutputSchema: z.ZodObject<{ status: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; pending: "pending"; }>; conflictPending: z.ZodOptional; errorCode: z.ZodNullable; }, z.core.$strip>; export type GetConnectedAccountConnectAttemptInput = z.infer; export type GetConnectedAccountConnectAttemptOutput = z.infer; export declare const getConnectedAccountConnectAttempt: import("../orpc-contracts/index.js").OperationDefinition; attemptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodEnum<{ completed: "completed"; expired: "expired"; failed: "failed"; pending: "pending"; }>; conflictPending: z.ZodOptional; errorCode: z.ZodNullable; }, z.core.$strip>, "api">; export declare const ListConnectedAccountsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export declare const ConnectedAccountSchema: z.ZodObject<{ connectionStatus: z.ZodOptional; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; provider: z.ZodString; externalName: z.ZodNullable; externalLogin: z.ZodNullable; connectedAt: z.ZodNullable; authMode: z.ZodNullable>; needsReconnect: z.ZodBoolean; }, z.core.$strip>; export declare const ListConnectedAccountsOutputSchema: z.ZodObject<{ accounts: z.ZodArray; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; provider: z.ZodString; externalName: z.ZodNullable; externalLogin: z.ZodNullable; connectedAt: z.ZodNullable; authMode: z.ZodNullable>; needsReconnect: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export type ListConnectedAccountsInput = z.infer; export type ListConnectedAccountsOutput = z.infer; export type ConnectedAccount = z.infer; export declare const listConnectedAccounts: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ accounts: z.ZodArray; reasonCode: z.ZodNullable>; checkedAt: z.ZodNullable; verification: z.ZodEnum<{ unverified: "unverified"; verified: "verified"; }>; }, z.core.$strip>>>; recovery: z.ZodOptional>; canCheck: z.ZodBoolean; canDisconnect: z.ZodBoolean; target: z.ZodOptional; resourceId: z.ZodString; providerId: z.ZodString; scope: z.ZodObject<{ kind: z.ZodEnum<{ organization: "organization"; project: "project"; user: "user"; }>; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; provider: z.ZodString; externalName: z.ZodNullable; externalLogin: z.ZodNullable; connectedAt: z.ZodNullable; authMode: z.ZodNullable>; needsReconnect: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const DisconnectConnectedAccountInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; google: "google"; linear: "linear"; microsoft: "microsoft"; slack: "slack"; }>; }, z.core.$strip>; export declare const DisconnectConnectedAccountOutputSchema: z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>; export type DisconnectConnectedAccountInput = z.infer; export type DisconnectConnectedAccountOutput = z.infer; export declare const disconnectConnectedAccount: import("../orpc-contracts/index.js").OperationDefinition; provider: z.ZodEnum<{ bitbucket: "bitbucket"; github: "github"; google: "google"; linear: "linear"; microsoft: "microsoft"; slack: "slack"; }>; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, "api">;