import { PublicKey, Connection } from "@solana/web3.js";
export interface ShortUrlFields {
    referrer: PublicKey;
    shortUrl: string;
}
export interface ShortUrlJSON {
    referrer: string;
    shortUrl: string;
}
export declare class ShortUrl {
    readonly referrer: PublicKey;
    readonly shortUrl: string;
    static readonly discriminator: Buffer;
    static readonly layout: any;
    constructor(fields: ShortUrlFields);
    static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ShortUrl | null>;
    static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ShortUrl | null>>;
    static decode(data: Buffer): ShortUrl;
    toJSON(): ShortUrlJSON;
    static fromJSON(obj: ShortUrlJSON): ShortUrl;
}
//# sourceMappingURL=ShortUrl.d.ts.map