/**
 * Credentials Reader
 *
 * Reads stored credentials from the kore-platform CLI credential store.
 * Compatible with the kore-platform-cli credential storage.
 */
export interface StoredCredentials {
    token: string;
    refreshToken?: string;
    expiresAt: string;
    email?: string;
    serverUrl?: string;
}
/**
 * Read stored credentials from the kore-platform credentials file.
 * Returns null if no credentials found, expired, or unreadable.
 */
export declare function readStoredCredentials(): StoredCredentials | null;
/**
 * Write credentials to the CLI-compatible Conf store.
 * Creates the directory if it doesn't exist.
 */
export declare function writeStoredCredentials(creds: StoredCredentials): void;
/**
 * Check if stored credentials have a valid (non-expired) access token.
 */
export declare function hasValidToken(creds: StoredCredentials): boolean;
/**
 * Check if stored credentials have a refresh token for renewal.
 */
export declare function hasRefreshToken(creds: StoredCredentials): boolean;
//# sourceMappingURL=credentials.d.ts.map