import { CustomResource } from "aws-cdk-lib";
import { Construct } from "constructs";
import { IDatabase } from "./database";
import { Provider } from "./provider";
export interface RoleProps {
    /**
     * Provider.
     */
    readonly provider: Provider;
    /**
     * SQL.
     */
    readonly roleName: string;
    /**
     * A new secret is created for this user.
     *
     * Optionally encrypt it with the given key.
     */
    readonly passwordArn: string;
    /**
     * Optional database this user is expected to use.
     *
     * Specify none of `database` or `databaseName` or only one of them.
     *
     * @default no connection to any database is granted
     */
    readonly database?: IDatabase;
    /**
     * Optional database name this user is expected to use.
     *
     * Specify none of `database` or `databaseName` or only one of them.
     *
     * @default no connection to any database is granted
     */
    readonly databaseName?: string;
}
export declare class Role extends CustomResource {
    constructor(scope: Construct, id: string, props: RoleProps);
}
