import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as OwnershipAPI from 'cloudflaredev/resources/logpush/ownership';
export declare class Ownership extends APIResource {
    /**
     * Gets a new ownership challenge sent to your destination.
     */
    create(params: OwnershipCreateParams, options?: Core.RequestOptions): Core.APIPromise<OwnershipCreateResponse | null>;
    /**
     * Validates ownership challenge of the destination.
     */
    validate(params: OwnershipValidateParams, options?: Core.RequestOptions): Core.APIPromise<OwnershipValidation | null>;
}
export interface OwnershipValidation {
    valid?: boolean;
}
export interface OwnershipCreateResponse {
    filename?: string;
    message?: string;
    valid?: boolean;
}
export interface OwnershipCreateParams {
    /**
     * Body param: Uniquely identifies a resource (such as an s3 bucket) where data
     * will be pushed. Additional configuration parameters supported by the destination
     * may be included.
     */
    destination_conf: string;
    /**
     * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
     * Zone ID.
     */
    account_id?: string;
    /**
     * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
     * Account ID.
     */
    zone_id?: string;
}
export interface OwnershipValidateParams {
    /**
     * Body param: Uniquely identifies a resource (such as an s3 bucket) where data
     * will be pushed. Additional configuration parameters supported by the destination
     * may be included.
     */
    destination_conf: string;
    /**
     * Body param: Ownership challenge token to prove destination ownership.
     */
    ownership_challenge: string;
    /**
     * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
     * Zone ID.
     */
    account_id?: string;
    /**
     * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
     * Account ID.
     */
    zone_id?: string;
}
export declare namespace Ownership {
    export import OwnershipValidation = OwnershipAPI.OwnershipValidation;
    export import OwnershipCreateResponse = OwnershipAPI.OwnershipCreateResponse;
    export import OwnershipCreateParams = OwnershipAPI.OwnershipCreateParams;
    export import OwnershipValidateParams = OwnershipAPI.OwnershipValidateParams;
}
//# sourceMappingURL=ownership.d.ts.map