import * as Schema from "effect/Schema";
export declare const GetBillingCreditGrantsInput: Schema.Struct<{
    readonly customer: Schema.optional<Schema.String>;
    readonly customer_account: Schema.optional<Schema.String>;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetBillingCreditGrantsInput = typeof GetBillingCreditGrantsInput.Type;
export declare const GetBillingCreditGrantsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Struct<{
            readonly monetary: Schema.Unknown;
            readonly type: Schema.Literals<readonly ["monetary"]>;
        }>;
        readonly applicability_config: Schema.Struct<{
            readonly scope: Schema.Struct<{
                readonly price_type: Schema.optional<Schema.Literals<readonly ["metered"]>>;
                readonly prices: Schema.optional<Schema.$Array<Schema.Struct<{
                    readonly id: Schema.NullOr<Schema.String>;
                }>>>;
            }>;
        }>;
        readonly category: Schema.Literals<readonly ["paid", "promotional"]>;
        readonly created: Schema.Number;
        readonly customer: Schema.Unknown;
        readonly customer_account: Schema.NullOr<Schema.String>;
        readonly effective_at: Schema.NullOr<Schema.Number>;
        readonly expires_at: Schema.NullOr<Schema.Number>;
        readonly id: Schema.String;
        readonly livemode: Schema.Boolean;
        readonly metadata: Schema.$Record<Schema.String, Schema.String>;
        readonly name: Schema.NullOr<Schema.String>;
        readonly object: Schema.Literals<readonly ["billing.credit_grant"]>;
        readonly priority: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly test_clock: Schema.Unknown;
        readonly updated: Schema.Number;
        readonly voided_at: Schema.NullOr<Schema.Number>;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetBillingCreditGrantsOutput = typeof GetBillingCreditGrantsOutput.Type;
/**
 * List credit grants
 *
 * <p>Retrieve a list of credit grants.</p>
 *
 * @param customer - Only return credit grants for this customer.
 * @param customer_account - Only return credit grants for this account representing the customer.
 * @param ending_before - A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
 * @param expand - Specifies which fields in the response should be expanded.
 * @param limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
 * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
 */
export declare const GetBillingCreditGrants: import("@distilled.cloud/core/client").OperationMethod<{
    readonly customer?: string | undefined;
    readonly customer_account?: string | undefined;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly amount: {
            readonly monetary: unknown;
            readonly type: "monetary";
        };
        readonly applicability_config: {
            readonly scope: {
                readonly price_type?: "metered" | undefined;
                readonly prices?: readonly {
                    readonly id: string | null;
                }[] | undefined;
            };
        };
        readonly category: "paid" | "promotional";
        readonly created: number;
        readonly customer: unknown;
        readonly customer_account: string | null;
        readonly effective_at: number | null;
        readonly expires_at: number | null;
        readonly id: string;
        readonly livemode: boolean;
        readonly metadata: {
            readonly [x: string]: string;
        };
        readonly name: string | null;
        readonly object: "billing.credit_grant";
        readonly priority?: number | null | undefined;
        readonly test_clock: unknown;
        readonly updated: number;
        readonly voided_at: number | null;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("..").Credentials>;
//# sourceMappingURL=GetBillingCreditGrants.d.ts.map