import { Logger } from '../../types/cli.types';
import 'reflect-metadata';
/**
 * Represents the credentials required for a build process, including
 * details about the region, account, and optional profile information.
 *
 * @typedef {Object} BuildCredentials
 * @property {boolean} found - Indicates whether the credentials were successfully located.
 * @property {string} region - Specifies the geographical region associated with the credentials.
 * @property {string} [account] - Optionally provides the account information.
 * @property {string} [profile] - Optionally specifies the profile to use for accessing resources.
 */
export type BuildCredentials = {
    found: boolean;
    region: string;
    account?: string;
    profile?: string;
};
/**
 * Detect and validate AWS credentials from environment
 *
 * @todo: complete default stage region by default credentials also
 */
export declare function detectAndValidateCredentials(logger: Logger): Promise<BuildCredentials>;
