/**
 * This code was AUTOGENERATED using the codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { type Address, type ReadonlyUint8Array } from '@solana/kit';
import { type ParsedAcceptRentalInstruction, type ParsedCancelRentalInstruction, type ParsedCloseContractInstruction, type ParsedCloseRentalInstruction, type ParsedCreateContractInstruction, type ParsedNormalizeAdminInstruction, type ParsedPayRentalInstruction, type ParsedResetRentalInstruction } from '../instructions';
export declare const SRSLY_PROGRAM_ADDRESS: Address<"SRSLY1fq9TJqCk1gNSE7VZL2bztvTn9wm4VR8u8jMKT">;
export declare enum SrslyAccount {
    ContractState = 0,
    Fleet = 1,
    RentalState = 2,
    Thread = 3
}
export declare function identifySrslyAccount(account: {
    data: ReadonlyUint8Array;
} | ReadonlyUint8Array): SrslyAccount;
export declare enum SrslyInstruction {
    AcceptRental = 0,
    CancelRental = 1,
    CloseContract = 2,
    CloseRental = 3,
    CreateContract = 4,
    NormalizeAdmin = 5,
    PayRental = 6,
    ResetRental = 7
}
export declare function identifySrslyInstruction(instruction: {
    data: ReadonlyUint8Array;
} | ReadonlyUint8Array): SrslyInstruction;
export type ParsedSrslyInstruction<TProgram extends string = 'SRSLY1fq9TJqCk1gNSE7VZL2bztvTn9wm4VR8u8jMKT'> = ({
    instructionType: SrslyInstruction.AcceptRental;
} & ParsedAcceptRentalInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.CancelRental;
} & ParsedCancelRentalInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.CloseContract;
} & ParsedCloseContractInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.CloseRental;
} & ParsedCloseRentalInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.CreateContract;
} & ParsedCreateContractInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.NormalizeAdmin;
} & ParsedNormalizeAdminInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.PayRental;
} & ParsedPayRentalInstruction<TProgram>) | ({
    instructionType: SrslyInstruction.ResetRental;
} & ParsedResetRentalInstruction<TProgram>);
//# sourceMappingURL=srsly.d.ts.map