@ar.io/sdk
Version:
[](https://codecov.io/gh/ar-io/ar-io-sdk)
34 lines (33 loc) • 2.1 kB
TypeScript
/**
* Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AoANTSetBaseNameRecordParams, AoANTSetUndernameRecordParams } from '../../types/ant.js';
import { CLIWriteOptionsFromAoAntParams } from '../types.js';
/** @deprecated -- use set-ant-base-name and set-ant-undername */
export declare function setAntRecordCLICommand(o: CLIWriteOptionsFromAoAntParams<AoANTSetUndernameRecordParams>): Promise<import("../../types/common.js").AoMessageResult<Record<string, string | number | boolean | null>>>;
export declare function setAntBaseNameCLICommand(o: CLIWriteOptionsFromAoAntParams<AoANTSetBaseNameRecordParams>): Promise<import("../../types/common.js").AoMessageResult<Record<string, string | number | boolean | null>>>;
export declare function setAntUndernameCLICommand(o: CLIWriteOptionsFromAoAntParams<AoANTSetUndernameRecordParams>): Promise<import("../../types/common.js").AoMessageResult<Record<string, string | number | boolean | null>>>;
export declare function transferRecordOwnershipCLICommand(o: CLIWriteOptionsFromAoAntParams<{
undername: string;
recipient: string;
}>): Promise<import("../../types/common.js").AoMessageResult<Record<string, string | number | boolean | null>>>;
export declare function upgradeAntCLICommand(o: CLIWriteOptionsFromAoAntParams<Record<string, unknown>>): Promise<{
forkedProcessId: string;
reassignedNames: Record<string, import("../../types/common.js").AoMessageResult>;
failedReassignedNames: Record<string, {
id?: string;
error: string;
}>;
}>;