import { DockerHost } from './classes.host.js';
import * as interfaces from './interfaces/index.js';
export declare class DockerSecret {
    static getSecrets(dockerHostArg: DockerHost): Promise<DockerSecret[]>;
    static getSecretByID(dockerHostArg: DockerHost, idArg: string): Promise<DockerSecret>;
    static getSecretByName(dockerHostArg: DockerHost, nameArg: string): Promise<DockerSecret>;
    static createSecret(dockerHostArg: DockerHost, secretDescriptor: interfaces.ISecretCreationDescriptor): Promise<DockerSecret>;
    ID: string;
    Spec: {
        Name: string;
        Labels: interfaces.TLabels;
    };
    Version: {
        Index: string;
    };
    dockerHost: DockerHost;
    constructor(dockerHostArg: DockerHost);
    /**
     * updates a secret
     */
    update(contentArg: string): Promise<void>;
    remove(): Promise<void>;
    getVersion(): Promise<string>;
}
