import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of Commitments in Oracle Cloud Infrastructure Onesubscription service.
 *
 * This list API returns all commitments for a particular Subscribed Service
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testCommitments = oci.onesubsription.getCommitments({
 *     compartmentId: compartmentId,
 *     subscribedServiceId: testSubscribedService.id,
 * });
 * ```
 */
export declare function getCommitments(args: GetCommitmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetCommitmentsResult>;
/**
 * A collection of arguments for invoking getCommitments.
 */
export interface GetCommitmentsArgs {
    /**
     * The OCID of the root compartment.
     */
    compartmentId: string;
    filters?: inputs.OneSubsription.GetCommitmentsFilter[];
    /**
     * This param is used to get the commitments for a particular subscribed service
     */
    subscribedServiceId: string;
}
/**
 * A collection of values returned by getCommitments.
 */
export interface GetCommitmentsResult {
    /**
     * The list of commitments.
     */
    readonly commitments: outputs.OneSubsription.GetCommitmentsCommitment[];
    readonly compartmentId: string;
    readonly filters?: outputs.OneSubsription.GetCommitmentsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * SPM internal Subscribed Service ID
     */
    readonly subscribedServiceId: string;
}
/**
 * This data source provides the list of Commitments in Oracle Cloud Infrastructure Onesubscription service.
 *
 * This list API returns all commitments for a particular Subscribed Service
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testCommitments = oci.onesubsription.getCommitments({
 *     compartmentId: compartmentId,
 *     subscribedServiceId: testSubscribedService.id,
 * });
 * ```
 */
export declare function getCommitmentsOutput(args: GetCommitmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCommitmentsResult>;
/**
 * A collection of arguments for invoking getCommitments.
 */
export interface GetCommitmentsOutputArgs {
    /**
     * The OCID of the root compartment.
     */
    compartmentId: pulumi.Input<string>;
    filters?: pulumi.Input<pulumi.Input<inputs.OneSubsription.GetCommitmentsFilterArgs>[] | undefined>;
    /**
     * This param is used to get the commitments for a particular subscribed service
     */
    subscribedServiceId: pulumi.Input<string>;
}
//# sourceMappingURL=getCommitments.d.ts.map