import { Project, CredentialFile } from './types';
export interface PapaVaultOptions {
    token?: string;
    projectId?: string;
    baseUrl?: string;
}
export declare class PapaVault {
    private token?;
    private projectId?;
    constructor(options?: PapaVaultOptions);
    /**
     * Set the project ID for subsequent operations
     */
    setProject(projectId: string): void;
    /**
     * Get the current project ID
     */
    getCurrentProject(): string | undefined;
    /**
     * List all projects
     */
    listProjects(): Promise<Project[]>;
    /**
     * Get a project by ID
     */
    getProject(projectId: string): Promise<Project>;
    /**
     * Get all credential files for a project environment
     */
    getCredentialFiles(environmentId: string): Promise<CredentialFile[]>;
    /**
     * Get a credential file by ID
     */
    getCredentialFile(environmentId: string, fileId: string): Promise<{
        downloadUrl: string;
        fileName: string;
    }>;
    /**
     * Download a credential file
     */
    downloadCredentialFile(downloadUrl: string): Promise<string>;
}
