import type { SshKeyConfig } from '@ts-cloud/core';
export interface AddSshKeyInput {
    configText: string;
    name: string;
    publicKey: string;
    existingKeys?: SshKeyConfig[];
}
export interface RemoveSshKeyInput {
    configText: string;
    name: string;
    existingKeys?: SshKeyConfig[];
}
export interface ManagedSshKey {
    name: string;
    publicKey: string;
    type: string;
    fingerprint: string;
    added: string;
}
export declare function addSshKeyToCloudConfig(input: AddSshKeyInput): string;
export declare function removeSshKeyFromCloudConfig(input: RemoveSshKeyInput): string;
export declare function describeSshKeys(keys?: SshKeyConfig[]): ManagedSshKey[];
export declare function findMatching(text: string, start: number, open: string, close: string): number;
