import { OrderStatus } from "@medusajs/framework/utils";
/**
 * An order placed by a customer.
 */
export declare const Order: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
    id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
    /**
     * An auto-incremented display ID for the order.
     */
    display_id: import("@medusajs/framework/utils").AutoIncrementProperty;
    /**
     * A custom display ID for the order.
     */
    custom_display_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * The ID of the region the order belongs to.
     */
    region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * The ID of the customer that placed the order.
     */
    customer_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * The order's version number.
     */
    version: import("@medusajs/framework/utils").NumberProperty;
    /**
     * The ID of the sales channel the order was placed in.
     */
    sales_channel_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * The order's status.
     */
    status: import("@medusajs/framework/utils").EnumProperty<typeof OrderStatus>;
    /**
     * Whether the order is a draft order.
     */
    is_draft_order: import("@medusajs/framework/utils").BooleanProperty;
    /**
     * The email associated with the order.
     */
    email: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * The ISO 3 character currency code of the order.
     * @example "usd"
     */
    currency_code: import("@medusajs/framework/utils").TextProperty;
    /**
     * The BCP 47 language tag of the order's locale.
     * @example "en-US"
     */
    locale: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
    /**
     * Whether notifications should be sent for this order.
     */
    no_notification: import("@medusajs/framework/utils").NullableModifier<boolean, import("@medusajs/framework/utils").BooleanProperty>;
    /**
     * Custom key-value metadata for the order.
     */
    metadata: import("@medusajs/framework/utils").NullableModifier<NoInfer<Record<string, unknown>>, import("@medusajs/framework/utils").JSONProperty<NoInfer<Record<string, unknown>>>>;
    /**
     * The date the order was canceled.
     */
    canceled_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
    /**
     * The associated shipping address.
     */
    shipping_address: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").HasOneWithForeignKey<any, undefined>, true>;
    /**
     * The associated billing address.
     */
    billing_address: import("@medusajs/framework/utils").RelationNullableModifier<any, import("@medusajs/framework/utils").HasOneWithForeignKey<any, undefined>, true>;
    /**
     * The associated order summaries.
     */
    summary: import("@medusajs/framework/utils").HasMany<any>;
    /**
     * The associated order items.
     */
    items: import("@medusajs/framework/utils").HasMany<any>;
    /**
     * The associated shipping methods.
     */
    shipping_methods: import("@medusajs/framework/utils").HasMany<any>;
    /**
     * The associated transactions.
     */
    transactions: import("@medusajs/framework/utils").HasMany<any>;
    /**
     * The associated credit lines.
     */
    credit_lines: import("@medusajs/framework/utils").HasMany<any>;
    /**
     * The associated returns.
     */
    returns: import("@medusajs/framework/utils").HasMany<any>;
}>, "Order">;
//# sourceMappingURL=order.d.ts.map