import { APIResource } from "../../core/resource.mjs";
import { APIPromise } from "../../core/api-promise.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
export declare class ActionURLs extends APIResource {
    /**
     * Create Action URL
     *
     * @example
     * ```ts
     * const userProfileActionURL =
     *   await client.userProfiles.actionURLs.create(
     *     'uprof_011CZkZCu8hGbp5mYRQgUmz9',
     *     { action: { type: 'enroll_end_user' } },
     *   );
     * ```
     */
    create(userProfileID: string, params: ActionURLCreateParams, options?: RequestOptions): APIPromise<UserProfileActionURL>;
}
/**
 * A URL to give to the person who takes the requested action.
 */
export interface UserProfileActionURL {
    /**
     * When the URL stops working, in RFC 3339 format.
     */
    expires_at: string;
    /**
     * Object type. Always `user_profile_action_url`.
     */
    type: 'user_profile_action_url';
    /**
     * The URL to give to the person who takes the action. Anyone who holds it can open
     * it until `expires_at`.
     */
    url: string;
}
/**
 * The end-user that the profile represents enrolls in a program.
 */
export interface UserProfileEnrollEndUserAction {
    type: 'enroll_end_user';
}
export interface ActionURLCreateParams {
    /**
     * Body param: The action that the person who opens the URL takes.
     */
    action: UserProfileEnrollEndUserAction;
    /**
     * Header param: Optional header to select the Workspace for this request. The
     * value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
     *
     * Only needed for credentials that can act on more than one Workspace. A
     * credential that belongs to a specific Workspace may omit it; if sent, it must
     * match that Workspace.
     */
    workspace_id?: string;
}
export declare namespace ActionURLs {
    export { type UserProfileActionURL as UserProfileActionURL, type UserProfileEnrollEndUserAction as UserProfileEnrollEndUserAction, type ActionURLCreateParams as ActionURLCreateParams, };
}
//# sourceMappingURL=action-urls.d.mts.map