import type { CID } from "multiformats/cid";
import { Maybe } from "../common/index.js";
export declare type App = {
    domains: string[];
    insertedAt: string;
    modifiedAt: string;
};
/**
 * Get A list of all of your apps and their associated domain names
 */
export declare function index(): Promise<Array<App>>;
/**
 * Creates a new app, assigns an initial subdomain, and sets an asset placeholder
 *
 * @param subdomain Subdomain to create the fission app with
 */
export declare function create(subdomain: Maybe<string>): Promise<App>;
/**
 * Destroy app by any associated domain
 *
 * @param domain The domain associated with the app we want to delete
 */
export declare function deleteByDomain(domain: string): Promise<void>;
/**
 * Updates an app by CID
 *
 * @param subdomain Subdomain to create the fission app with
 */
export declare function publish(domain: string, cid: CID): Promise<void>;
