@capgo/cli
Version:
A CLI to upload to capgo servers
67 lines (66 loc) • 2.37 kB
TypeScript
import type { FC } from 'react';
export interface SelectOption {
label: string;
value: string;
}
export interface CredentialsExistStepProps {
appId: string;
dense?: boolean;
onChange: (value: string) => void;
}
export declare const CredentialsExistStep: FC<CredentialsExistStepProps>;
export declare const BackingUpStep: FC;
export interface SetupMethodSelectStepProps {
dense?: boolean;
onChange: (value: string) => void | Promise<void>;
}
export declare const SetupMethodSelectStep: FC<SetupMethodSelectStepProps>;
export interface ApiKeyInstructionsStepProps {
canUseFilePicker: boolean;
dense?: boolean;
onMethodChange: (value: string) => void;
onPathSubmit: (value: string) => void | Promise<void>;
}
export declare const ApiKeyInstructionsStep: FC<ApiKeyInstructionsStepProps>;
export declare const P8MethodSelectStep: FC;
export interface InputP8PathStepProps {
onSubmit: (value: string) => void | Promise<void>;
}
export declare const InputP8PathStep: FC<InputP8PathStepProps>;
export interface InputKeyIdStepProps {
keyId: string;
dense?: boolean;
onSubmit: (value: string) => void;
}
export declare const InputKeyIdStep: FC<InputKeyIdStepProps>;
export interface InputIssuerIdStepProps {
dense?: boolean;
onSubmit: (value: string) => void;
}
export declare const InputIssuerIdStep: FC<InputIssuerIdStepProps>;
export declare const VerifyingKeyStep: FC;
export declare const CreatingCertificateStep: FC;
export interface CertLimitPromptStepProps {
existingCount: number;
options: SelectOption[];
dense?: boolean;
onChange: (value: string) => void;
}
export declare const CertLimitPromptStep: FC<CertLimitPromptStepProps>;
export declare const RevokingCertificateStep: FC;
export interface CreatingProfileStepProps {
appId: string;
dense?: boolean;
}
export declare const CreatingProfileStep: FC<CreatingProfileStepProps>;
export interface DuplicateProfilePromptStepProps {
duplicateCount: number;
dense?: boolean;
onChange: (value: string) => void;
}
export declare const DuplicateProfilePromptStep: FC<DuplicateProfilePromptStepProps>;
export interface DeletingDuplicateProfilesStepProps {
duplicateCount: number;
}
export declare const DeletingDuplicateProfilesStep: FC<DeletingDuplicateProfilesStepProps>;
export declare const SavingCredentialsStep: FC;