import * as pulumi from "@pulumi/pulumi"; /** * Compares two timestamps and returns a number that represents the ordering * of the instants those timestamps represent. * Timestamps are represented as strings using RFC 3339 "Date and time format" syntax. * Both timestamps must be strings adhering this syntax, i.e. "2017-11-22T00:00:00Z". * If 'timestamp_a' is before 'timestamp_b', -1 is returned. * If 'timestamp_a' is equal to 'timestamp_b', 0 is returned. * If 'timestamp_a' is after 'timestamp_b', 1 is returned. */ export declare function timecmp(args: TimecmpArgs, opts?: pulumi.InvokeOptions): Promise; export interface TimecmpArgs { timestampa: string; timestampb: string; } export interface TimecmpResult { readonly result: number; } /** * Compares two timestamps and returns a number that represents the ordering * of the instants those timestamps represent. * Timestamps are represented as strings using RFC 3339 "Date and time format" syntax. * Both timestamps must be strings adhering this syntax, i.e. "2017-11-22T00:00:00Z". * If 'timestamp_a' is before 'timestamp_b', -1 is returned. * If 'timestamp_a' is equal to 'timestamp_b', 0 is returned. * If 'timestamp_a' is after 'timestamp_b', 1 is returned. */ export declare function timecmpOutput(args: TimecmpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface TimecmpOutputArgs { timestampa: pulumi.Input; timestampb: pulumi.Input; }