import { APIResource } from "../../core/resource.mjs";
import { APIPromise } from "../../core/api-promise.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
export declare class Security extends APIResource {
    /**
     * Update the current user's security settings
     */
    update(body: SecurityUpdateParams, options?: RequestOptions): APIPromise<UserSecurity>;
    /**
     * Get the current user's security settings
     */
    get(options?: RequestOptions): APIPromise<UserSecurity>;
}
/**
 * User security settings response.
 */
export interface UserSecurity {
    /**
     * IP filter rules.
     */
    source_ip_rule: UserSecurity.SourceIPRule;
    /**
     * When the user security settings were created.
     */
    created_at?: string;
    /**
     * When the user security settings were updated.
     */
    updated_at?: string;
}
export declare namespace UserSecurity {
    /**
     * IP filter rules.
     */
    interface SourceIPRule {
        /**
         * List of IPv4 CIDR addresses to allow.
         */
        allowed: Array<string>;
        /**
         * List of IPv4 CIDR addresses to deny.
         */
        blocked: Array<string>;
    }
}
export interface SecurityUpdateParams {
    /**
     * IP filter rules.
     */
    source_ip_rule?: SecurityUpdateParams.SourceIPRule;
}
export declare namespace SecurityUpdateParams {
    /**
     * IP filter rules.
     */
    interface SourceIPRule {
        /**
         * List of IPv4 CIDR addresses to allow.
         */
        allowed?: Array<string>;
        /**
         * List of IPv4 CIDR addresses to deny.
         */
        blocked?: Array<string>;
    }
}
export declare namespace Security {
    export { type UserSecurity as UserSecurity, type SecurityUpdateParams as SecurityUpdateParams };
}
//# sourceMappingURL=security.d.mts.map