@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
17 lines (16 loc) • 627 B
TypeScript
import { IExtendedContentHubClient } from "./extended-client";
/**
* Allows fetching culture information.
*/
export interface IAssetsClient {
/**
* Gets the default culture.
* @returns The default culture.
*/
createPublicLinkAsync(assetId: number, rendition: string, expirationDate?: Date, relativeUrl?: string): Promise<number>;
}
export declare class AssetsClient implements IAssetsClient {
private readonly _client;
constructor(client: IExtendedContentHubClient);
createPublicLinkAsync(assetId: number, rendition: string, expirationDate?: Date, relativeUrl?: string): Promise<number>;
}